summaryrefslogtreecommitdiff
path: root/caribou
diff options
context:
space:
mode:
authorNohemi Fernandez <nf68@cornell.edu>2011-07-28 11:35:55 -0500
committerEitan Isaacson <eitan@monotonous.org>2011-08-12 09:19:40 +0200
commit35fbd7d84509a6f4c7df8274450733fd0afd9044 (patch)
tree72937acb432d64084a273ed58a7f537549d38c72 /caribou
parent875abe21f807f01121bae506745c1a9432b39227 (diff)
downloadcaribou-35fbd7d84509a6f4c7df8274450733fd0afd9044.tar.gz
Add Caribou to GTK_MODULES
The Caribou IM module would override any other modules the user is utilizing; by adding it to the GTK_MODULES the user can decide whether or not to enable the module (enabled automatically for onscreen keyboard) and will avoid override. There is also no dependency for the abstract class GtkIMContextSimple.
Diffstat (limited to 'caribou')
-rw-r--r--caribou/antler/window.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/caribou/antler/window.py b/caribou/antler/window.py
index a72203e..c567a93 100644
--- a/caribou/antler/window.py
+++ b/caribou/antler/window.py
@@ -386,9 +386,9 @@ class AntlerWindowDocked(AntlerWindow):
x, y = self.get_position()
return self.animated_move(x + self.get_allocated_width(), y)
- def hide(self):
+ def hide(self, timestamp):
animation = self._roll_out()
- animation.connect('completed', lambda x: AntlerWindow.hide(self))
+ animation.connect('completed', lambda x: AntlerWindow.hide(self, timestamp))
class AntlerWindowEntry(AntlerWindow):
def __init__(self, keyboard_view_factory):