mirror of
https://github.com/python/cpython.git
synced 2025-10-04 22:20:46 +00:00
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 ........
This commit is contained in:
parent
5302a3011e
commit
de3dfc1635
7 changed files with 75 additions and 19 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue