Fixes issues 3883 and 5194

This commit is contained in:
Ronald Oussoren 2009-03-04 21:35:05 +00:00
parent cea1ddb4aa
commit a97063a108
7 changed files with 75 additions and 19 deletions

View file

@ -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)