summaryrefslogtreecommitdiff
path: root/caribou/ui/main.py
diff options
context:
space:
mode:
authorEitan Isaacson <eitan@monotonous.org>2010-12-09 00:06:58 -0800
committerEitan Isaacson <eitan@monotonous.org>2010-12-09 00:06:58 -0800
commitba427e64771bc28e88f38af8488bee4808023282 (patch)
tree2e06b206905fee0382b06523a788913222ac6469 /caribou/ui/main.py
parenta88e0b7410d57aacb5253d5e7bb979f89c1a7da2 (diff)
downloadcaribou-ba427e64771bc28e88f38af8488bee4808023282.tar.gz
Force current caribou to use new settings code. Might still be buggy.
Diffstat (limited to 'caribou/ui/main.py')
-rw-r--r--caribou/ui/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/caribou/ui/main.py b/caribou/ui/main.py
index 013cabf..e5dcee2 100644
--- a/caribou/ui/main.py
+++ b/caribou/ui/main.py
@@ -43,7 +43,7 @@ class Caribou:
pyatspi.Registry.deregisterEventListener(
self.on_text_caret_moved, "object:text-caret-moved")
pyatspi.Registry.deregisterKeystrokeListener(
- self.on_key_down, mask=None, kind=(pyatspi.KEY_PRESSED_EVENT,))
+ self.on_key_down, mask=None, kind=pyatspi.KEY_PRESSED_EVENT)
def _on_layout_changed(self, client, connection_id, entry, args):
self._deregister_event_listeners()
@@ -177,7 +177,7 @@ class Caribou:
print "OK"
else:
print "FAIL"
- result = pyatspi.Registry.deregisterKeystrokeListener(self.on_key_down, mask=None, kind=(pyatspi.KEY_PRESSED_EVENT,))
+ result = pyatspi.Registry.deregisterKeystrokeListener(self.on_key_down, mask=None, kind=pyatspi.KEY_PRESSED_EVENT)
if debug == True:
print "deregisterKeystrokeListener"
gtk.main_quit()