Bugfix: Taskbar didn't work.

portnov [2008-08-29 10:13:57]
Bugfix: Taskbar didn't work.
Filename
qwerty.py
diff --git a/qwerty.py b/qwerty.py
index d0a99b0..e8156e5 100755
--- a/qwerty.py
+++ b/qwerty.py
@@ -709,6 +709,7 @@ class GUI(object):
             return

         for k in speckeys:
+            print k
             if event.keyval == gtk.gdk.keyval_from_name(k):
                 self.do_special_button(speckeys[k])
                 self.exit()
@@ -717,7 +718,7 @@ class GUI(object):
         k = self.get_key(event.hardware_keycode)
         if k in DIGITS:
             self.show_section(k, mods)
-        elif k == ' ':
+        elif k == 'space':
             self.switch_taskbar()
         elif k in ALPHABET.lower():
             self.do_button(k, mods)
ViewGit