mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
Fix for issue5194, based on a patch by Ned Deily.
This commit is contained in:
parent
de09acf298
commit
827822ef3f
8 changed files with 65 additions and 15 deletions
|
@ -363,7 +363,7 @@ class EditorWindow(object):
|
|||
underline, label = prepstr(label)
|
||||
menudict[name] = menu = Menu(mbar, name=name)
|
||||
mbar.add_cascade(label=label, menu=menu, underline=underline)
|
||||
if sys.platform == 'darwin' and '.framework' in sys.executable:
|
||||
if macosxSupport.runningAsOSXApp():
|
||||
# Insert the application menu
|
||||
menudict['application'] = menu = Menu(mbar, name='apple')
|
||||
mbar.add_cascade(label='IDLE', menu=menu)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue