diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-03-04 21:35:38 +0000 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-03-04 21:35:38 +0000 |
commit | de3dfc1635390678895fbfff9caef986357efab7 (patch) | |
tree | 8c3d8fa116aaa3f7062981c43313bf6a6445c6b2 /Lib/idlelib/keybindingDialog.py | |
parent | 5302a3011e06ad87b08855d37a230e45df596325 (diff) | |
download | cpython-git-de3dfc1635390678895fbfff9caef986357efab7.tar.gz |
Merged revisions 70176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70176 | ronald.oussoren | 2009-03-04 22:35:05 +0100 (Wed, 04 Mar 2009) | 2 lines
Fixes issues 3883 and 5194
........
Diffstat (limited to 'Lib/idlelib/keybindingDialog.py')
-rw-r--r-- | Lib/idlelib/keybindingDialog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/keybindingDialog.py b/Lib/idlelib/keybindingDialog.py index 1ce7ff4686..d6d1f18126 100644 --- a/Lib/idlelib/keybindingDialog.py +++ b/Lib/idlelib/keybindingDialog.py @@ -132,8 +132,8 @@ class GetKeysDialog(Toplevel): order is also important: key binding equality depends on it, so config-keys.def must use the same ordering. """ - import sys - if sys.platform == 'darwin' and sys.argv[0].count('.app'): + import macosxSupport + if macosxSupport.runningAsOSXApp(): self.modifiers = ['Shift', 'Control', 'Option', 'Command'] else: self.modifiers = ['Control', 'Alt', 'Shift'] |