mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Fixes issues 3883 and 5194
This commit is contained in:
parent
cea1ddb4aa
commit
a97063a108
7 changed files with 75 additions and 19 deletions
|
@ -368,7 +368,7 @@ class EditorWindow(object):
|
|||
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