From c628a06c709dcf0d96ad55a475a5a1318d06dba4 Mon Sep 17 00:00:00 2001 From: "Steven M. Gava" Date: Sat, 19 Jan 2002 10:33:21 +0000 Subject: further work on keybinding configuration --- Lib/idlelib/configDialog.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Lib/idlelib/configDialog.py') diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py index 2b13391557..42df59478b 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) -- cgit v1.2.1