further work on new configuration system, specifically,

on keybinding configuration
This commit is contained in:
Steven M. Gava 2001-12-03 00:37:28 +00:00
parent 20ffa0e5bc
commit 17d0154097
3 changed files with 108 additions and 64 deletions

View file

@ -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