diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-03-04 21:35:05 +0000 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-03-04 21:35:05 +0000 |
commit | a97063a1086266e774586765b3c3e65ed2a4a1eb (patch) | |
tree | 7f16fd30f492457d5fbb0e3484c6f732743c6413 /Lib/idlelib/Bindings.py | |
parent | cea1ddb4aa6ccae552ff9838cb07c6802785b8fc (diff) | |
download | cpython-git-a97063a1086266e774586765b3c3e65ed2a4a1eb.tar.gz |
Fixes issues 3883 and 5194
Diffstat (limited to 'Lib/idlelib/Bindings.py')
-rw-r--r-- | Lib/idlelib/Bindings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py index a3c9fc45f8..1853ff93df 100644 --- a/Lib/idlelib/Bindings.py +++ b/Lib/idlelib/Bindings.py @@ -10,6 +10,7 @@ windows. """ import sys from configHandler import idleConf +import macosxSupport menudefs = [ # underscore prefixes character to underscore @@ -80,8 +81,7 @@ menudefs = [ ]), ] -import sys -if sys.platform == 'darwin' and '.app' in sys.executable: +if macosxSupport.runningAsOSXApp(): # Running as a proper MacOS application bundle. This block restructures # the menus a little to make them conform better to the HIG. |