diff --git a/twander.py b/twander.py index be8293a..231c217 100755 --- a/twander.py +++ b/twander.py @@ -4,7 +4,7 @@ PROGNAME = "twander" -RCSID = "$Id: twander.py,v 1.43 2002/11/12 01:07:03 tundra Exp $" +RCSID = "$Id: twander.py,v 1.44 2002/11/12 01:59:02 tundra Exp $" VERSION = RCSID.split()[2] @@ -463,17 +463,16 @@ # Bind handler for Left Arrow key root.bind('', KeyLeft) - # Bind handler for Up Arrow key - root.bind('', KeyUp) - - # Bind handler for Down Arrow key - root.bind('', KeyDwn) - # Set up keystroke handler for application # These will be checked against the command # key definitions in the configuration file root.bind('', KeystrokeHandler) + # Bind the space key for selection + root.bind('', DirListHandler) + + self.DirList.focus() + # End of class definition, 'twanderUI' @@ -541,32 +540,6 @@ ##### -# Event Handler For Down Arrow Key - Move Down One Selection -##### - -def KeyDwn(event): - global INDEX - - pass - -# End of 'KeyDwn()' - - -##### -# Event Handler For Up Arrow Key - Move Up One Selection -##### - -def KeyUp(event): - global INDEX - - if int(INDEX[0]) > 0: - INDEX -= 1 - ProcessSelection() - -# End of 'KeyDwn()' - - -##### # Event Handler For Home Key - Go Back to Initial Directory #####