[Idle-dev] CVS: idle configDialog.py,1.24,1.25
Stephen M. Gava
elguavas@users.sourceforge.net
Sat, 19 Jan 2002 02:33:23 -0800
Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv16848
Modified Files:
configDialog.py
Log Message:
further work on keybinding configuration
Index: configDialog.py
===================================================================
RCS file: /cvsroot/idlefork/idle/configDialog.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** configDialog.py 2002/01/19 01:30:56 1.24
--- configDialog.py 2002/01/19 10:33:21 1.25
***************
*** 584,588 ****
self.SetKeysType()
##load keyset element list
! keySet=idleConf.GetKeys(currentOption)
bindNames=keySet.keys()
bindNames.sort()
--- 584,588 ----
self.SetKeysType()
##load keyset element list
! keySet=idleConf.GetCurrentKeySet()
bindNames=keySet.keys()
bindNames.sort()
***************
*** 596,601 ****
binding=self.listBindings.get(listIndex)
bindName=binding.split()[0] #first part, up to first space
! currentKeySet=idleConf.CurrentKeys()
! currentKeySequences=idleConf.GetKeys(currentKeySet).values()
newKeys=GetKeysDialog(self,'Get New Keys',bindName,currentKeySequences)
if newKeys.result: #new keys were specified
--- 596,600 ----
binding=self.listBindings.get(listIndex)
bindName=binding.split()[0] #first part, up to first space
! currentKeySequences=idleConf.GetCurrentKeySet().values()
newKeys=GetKeysDialog(self,'Get New Keys',bindName,currentKeySequences)
if newKeys.result: #new keys were specified