ibus-table/ibus-table-0.1.1.20081014-4b.rhbz466844.patch

21 lines
689 B
Diff
Raw Normal View History

diff -up ibus-table-0.1.1.20081014/engine/table.py.1-rhbz466844 ibus-table-0.1.1.20081014/engine/table.py
--- ibus-table-0.1.1.20081014/engine/table.py.1-rhbz466844 2008-10-16 10:59:17.000000000 +1000
+++ ibus-table-0.1.1.20081014/engine/table.py 2008-10-28 14:42:16.000000000 +1000
@@ -1270,12 +1270,15 @@ class tabengine (ibus.EngineBase):
# below for initial test
def focus_in (self):
+ self.reset ()
self.register_properties (self.properties)
self._refresh_properties ()
self._update_ui ()
def focus_out (self):
- pass
+ self._lookup_table.clean ()
+ self._strings = []
+ self._update_ui ()
def lookup_table_page_up (self):
if self._editor.page_up ():