diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-02-12 15:01:44 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-02-12 15:01:44 (GMT) |
commit | 827822ef3f389548ca2ac11b11c5e498f45fe78a (patch) | |
tree | 94532be2aa8126ef966cff4f1f7c0d7d35871b37 /Lib/idlelib/EditorWindow.py | |
parent | de09acf2984b6699aa7a45c2ea2429c6da5f046e (diff) | |
download | cpython-827822ef3f389548ca2ac11b11c5e498f45fe78a.zip cpython-827822ef3f389548ca2ac11b11c5e498f45fe78a.tar.gz cpython-827822ef3f389548ca2ac11b11c5e498f45fe78a.tar.bz2 |
Fix for issue5194, based on a patch by Ned Deily.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 1512c46..38ae7b6 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -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) |