diff options
author | Peng Wu <alexepico@gmail.com> | 2015-07-29 14:14:37 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-07-29 14:14:37 +0800 |
commit | 551ef42ffa74793b69f8ffc1c338e25674abc6de (patch) | |
tree | 378118c5de4d5e0e5686fc6cb079d7cfabe19345 | |
parent | 1269123f250c9026c5e140fdfdd8da5c292a2d43 (diff) | |
download | ibus-libzhuyin-551ef42ffa74793b69f8ffc1c338e25674abc6de.tar.gz ibus-libzhuyin-551ef42ffa74793b69f8ffc1c338e25674abc6de.tar.xz ibus-libzhuyin-551ef42ffa74793b69f8ffc1c338e25674abc6de.zip |
update main.py
-rw-r--r-- | setup/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setup/main.py b/setup/main.py index 5631570..c218655 100644 --- a/setup/main.py +++ b/setup/main.py @@ -89,6 +89,7 @@ class PreferencesWindow: self.__full_half_punct = self.__builder.get_object("fullhalfpunct") self.__traditional_chinese = self.__builder.get_object("traditionalchinese") self.__always_input_num = self.__builder.get_object("alwaysinputnum") + self.__space_show_candidates = self.__builder.get_object("spaceshowcandidates") # read values self.__chinese_mode.set_active(self.__get_value("chinesemode", True)) @@ -96,6 +97,7 @@ class PreferencesWindow: self.__full_half_punct.set_active(self.__get_value("fullhalfpunct", True)) self.__traditional_chinese.set_active(self.__get_value("traditionalchinese", True)) self.__always_input_num.set_active(self.__get_value("alwaysinputnum", False)) + self.__space_show_candidates.set_active(self.__get_value("spaceshowcandidates", False)) # connect signals self.__chinese_mode.connect("toggled", self.__toggled_cb, "chinesemode") @@ -103,6 +105,7 @@ class PreferencesWindow: self.__full_half_punct.connect("toggled", self.__toggled_cb, "fullhalfpunct") self.__traditional_chinese.connect("toggled", self.__toggled_cb, "traditionalchinese") self.__always_input_num.connect("toggled", self.__toggled_cb, "alwaysinputnum") + self.__space_show_candidates.connect("toggled", self.__toggled_cb, "spaceshowcandidates") def __init_keyboard(self): |