diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-02-12 15:01:44 +0000 | 
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-02-12 15:01:44 +0000 | 
| commit | 827822ef3f389548ca2ac11b11c5e498f45fe78a (patch) | |
| tree | 94532be2aa8126ef966cff4f1f7c0d7d35871b37 /Lib/idlelib/EditorWindow.py | |
| parent | de09acf2984b6699aa7a45c2ea2429c6da5f046e (diff) | |
| download | cpython-git-827822ef3f389548ca2ac11b11c5e498f45fe78a.tar.gz | |
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 1512c464af..38ae7b60aa 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)  | 
