diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-08-11 21:03:45 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-08-11 21:03:45 +0800 |
commit | 28aa9fed6a3893af6aaa3d75aa7f9150a5fa8fa5 (patch) | |
tree | 4beeddf38a53e1544fcfdf86a5b99859ce5a16ac /daemon | |
parent | 22bc732fe637b2a94fc6494ec3ec9fb7ad158d4b (diff) | |
download | ibus-28aa9fed6a3893af6aaa3d75aa7f9150a5fa8fa5.tar.gz ibus-28aa9fed6a3893af6aaa3d75aa7f9150a5fa8fa5.tar.xz ibus-28aa9fed6a3893af6aaa3d75aa7f9150a5fa8fa5.zip |
Hide preedit when disable input method.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/inputcontext.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/inputcontext.py b/daemon/inputcontext.py index 4926faf..f4ee79f 100644 --- a/daemon/inputcontext.py +++ b/daemon/inputcontext.py @@ -199,6 +199,7 @@ class InputContext(ibus.Object): self.__engine.enable() self.__engine.focus_in() else: + self.hide_preedit() self.__ibusconn.emit_dbus_signal("Disabled", self.__id) if self.__engine: self.__engine.disable() |