diff options
author | Hideaki ABE <abe.sendai@gmail.com> | 2009-08-14 10:32:18 +0900 |
---|---|---|
committer | Hideaki ABE <abe.sendai@gmail.com> | 2009-08-14 10:32:18 +0900 |
commit | e2e52b28ea138f946d5819b385382c1c8005e094 (patch) | |
tree | 71112c298b2395d48aac065a3d25df214d88fa63 /engine | |
parent | c77c9c8129900533e8415c5cc8dceb0327f37c6f (diff) | |
download | ibus-anthy-e2e52b28ea138f946d5819b385382c1c8005e094.tar.gz |
Effective convert_to_xxxxx command, when the candidate window is displayed.
Diffstat (limited to 'engine')
-rw-r--r-- | engine/engine.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/engine.py b/engine/engine.py index 04c882d..753273c 100644 --- a/engine/engine.py +++ b/engine/engine.py @@ -1512,37 +1512,37 @@ class Engine(ibus.EngineBase): return self.__cmd_convert_to_wide_latin(keyval, state) def __cmd_convert_to_hiragana(self, keyval, state): - if not self._chk_mode('1234'): + if not self._chk_mode('12345'): return False return self.__on_key_conv(0) def __cmd_convert_to_katakana(self, keyval, state): - if not self._chk_mode('1234'): + if not self._chk_mode('12345'): return False return self.__on_key_conv(1) def __cmd_convert_to_half(self, keyval, state): - if not self._chk_mode('1234'): + if not self._chk_mode('12345'): return False return self.__on_key_conv(2) def __cmd_convert_to_half_katakana(self, keyval, state): - if not self._chk_mode('1234'): + if not self._chk_mode('12345'): return False return self.__on_key_conv(2) def __cmd_convert_to_wide_latin(self, keyval, state): - if not self._chk_mode('1234'): + if not self._chk_mode('12345'): return False return self.__on_key_conv(3) def __cmd_convert_to_latin(self, keyval, state): - if not self._chk_mode('1234'): + if not self._chk_mode('12345'): return False return self.__on_key_conv(4) |