Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2012-10-08 03:24:25 (GMT)
committer Gary Martin <gary@garycmartin.com>2012-10-08 03:24:25 (GMT)
commitad1edbf3e7ee3e17dc5aee20345200f040328bba (patch)
treee623d82d56c134c37acc5600a3bf8df093642735
parentf789c70666e3173439e4c7ff493aa2e613013261 (diff)
Prevent Maliit OSK from opening when editing the main calculate text entry (thanks to Simon and Gonzalo).
-rw-r--r--layout.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/layout.py b/layout.py
index e0c120d..70d4d71 100644
--- a/layout.py
+++ b/layout.py
@@ -185,6 +185,7 @@ class CalcLayout:
vc1.pack_start(eb2, expand=False)
self.text_entry = gtk.Entry()
+ self.text_entry.props.im_module = 'gtk-im-context-simple'
self.text_entry.set_size_request(-1, 75)
self.text_entry.connect('key_press_event', self._parent.ignore_key_cb)
self.text_entry.modify_font(self.input_font)