[kupfer] ui: Experimentally ignore system input manager



commit 4f029e65ff86383a0ef7fd056749a675b1098479
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Nov 2 23:14:26 2010 +0100

    ui: Experimentally ignore system input manager
    
    To solve a conflict with ibus, we try to preconfigure Kupfer to use
    the "simple" input method for the GtkEntry. The user may choose input
    method by typing Shift+F10 in Kupfer.

 kupfer/ui/browser.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/ui/browser.py b/kupfer/ui/browser.py
index 47645ec..45e3a84 100644
--- a/kupfer/ui/browser.py
+++ b/kupfer/ui/browser.py
@@ -808,6 +808,7 @@ class Interface (gobject.GObject):
 		self._reset_to_toplevel = False
 		self.entry.set_size_request(0, 0)
 		self.entry.connect("realize", self._entry_realized)
+		self.entry.set_property("im-module", "gtk-im-context-simple")
 
 		from pango import ELLIPSIZE_END
 		self.label.set_width_chars(50)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]