summaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-06-10 13:48:34 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-06-10 13:48:34 +0800
commita98b627b68de2b1c1c8d57ca1f5c91cbc720ab2a (patch)
tree26630c6e44405e888a5648c82149ac29b5ca1083 /engine
parentf55614858ef52f3a7f0c06fe9192b311f998eeb5 (diff)
downloadibus-a98b627b68de2b1c1c8d57ca1f5c91cbc720ab2a.tar.gz
ibus-a98b627b68de2b1c1c8d57ca1f5c91cbc720ab2a.tar.xz
ibus-a98b627b68de2b1c1c8d57ca1f5c91cbc720ab2a.zip
Does not commit space when user uses 1~5 to select candidate.
Diffstat (limited to 'engine')
-rw-r--r--engine/demo/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/demo/engine.py b/engine/demo/engine.py
index 9a0ed8c..8e2594b 100644
--- a/engine/demo/engine.py
+++ b/engine/demo/engine.py
@@ -53,7 +53,7 @@ class Engine (interface.IEngine):
if index >= len (candidates):
return False
candidate = candidates[index][0]
- self._commit_string (candidate + " ")
+ self._commit_string (candidate)
return True
elif keyval == keysyms.Page_Up or keyval == keysyms.KP_Page_Up:
if self._lookup_table.page_up ():