diff options
author | Steven M. Gava <elguavas@python.net> | 2001-12-03 00:37:28 (GMT) |
---|---|---|
committer | Steven M. Gava <elguavas@python.net> | 2001-12-03 00:37:28 (GMT) |
commit | 17d015409765d29e199d4828cb136acd3196efe6 (patch) | |
tree | 5894be28faad0c3178e07918a19618fec242419f /Lib/idlelib/Bindings.py | |
parent | 20ffa0e5bc274ac873a4ff318deb1faaefee0703 (diff) | |
download | cpython-17d015409765d29e199d4828cb136acd3196efe6.zip cpython-17d015409765d29e199d4828cb136acd3196efe6.tar.gz cpython-17d015409765d29e199d4828cb136acd3196efe6.tar.bz2 |
further work on new configuration system, specifically,
on keybinding configuration
Diffstat (limited to 'Lib/idlelib/Bindings.py')
-rw-r--r-- | Lib/idlelib/Bindings.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py index 7baa913..1a8374b 100644 --- a/Lib/idlelib/Bindings.py +++ b/Lib/idlelib/Bindings.py @@ -14,7 +14,8 @@ import sys import string -from keydefs import * +#from keydefs import * +from configHandler import idleConf menudefs = [ # underscore prefixes character to underscore @@ -65,9 +66,11 @@ menudefs = [ ]), ] -if sys.platform == 'win32': - default_keydefs = windows_keydefs -else: - default_keydefs = unix_keydefs +#if sys.platform == 'win32': +# default_keydefs = windows_keydefs +#else: +# default_keydefs = unix_keydefs + +default_keydefs = idleConf.GetKeys(keySetName=None) del sys |