summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configDialog.py
diff options
context:
space:
mode:
authorSteven M. Gava <elguavas@python.net>2002-01-19 10:33:21 (GMT)
committerSteven M. Gava <elguavas@python.net>2002-01-19 10:33:21 (GMT)
commitc628a06c709dcf0d96ad55a475a5a1318d06dba4 (patch)
tree6a08e02872fbe4f059def12dde386a554400fb2c /Lib/idlelib/configDialog.py
parent68d7336cb06ce84c01ee4307cd9fd23d5b273519 (diff)
downloadcpython-c628a06c709dcf0d96ad55a475a5a1318d06dba4.zip
cpython-c628a06c709dcf0d96ad55a475a5a1318d06dba4.tar.gz
cpython-c628a06c709dcf0d96ad55a475a5a1318d06dba4.tar.bz2
further work on keybinding configuration
Diffstat (limited to 'Lib/idlelib/configDialog.py')
-rw-r--r--Lib/idlelib/configDialog.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
index 2b13391..42df594 100644
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -583,7 +583,7 @@ class ConfigDialog(Toplevel):
self.optMenuKeysBuiltin.SetMenu(itemList,itemList[0])
self.SetKeysType()
##load keyset element list
- keySet=idleConf.GetKeys(currentOption)
+ keySet=idleConf.GetCurrentKeySet()
bindNames=keySet.keys()
bindNames.sort()
for bindName in bindNames:
@@ -595,8 +595,7 @@ class ConfigDialog(Toplevel):
listIndex=self.listBindings.index(ANCHOR)
binding=self.listBindings.get(listIndex)
bindName=binding.split()[0] #first part, up to first space
- currentKeySet=idleConf.CurrentKeys()
- currentKeySequences=idleConf.GetKeys(currentKeySet).values()
+ currentKeySequences=idleConf.GetCurrentKeySet().values()
newKeys=GetKeysDialog(self,'Get New Keys',bindName,currentKeySequences)
if newKeys.result: #new keys were specified
self.listBindings.delete(listIndex)