diff options
Diffstat (limited to 'setup/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 e2a7293..111b1f9 100644 --- a/setup/main.py +++ b/setup/main.py @@ -85,18 +85,21 @@ class PreferencesWindow: self.__chinese_mode = self.__builder.get_object("chinesemode") self.__full_half_english = self.__builder.get_object("fullhalfenglish") 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") # read values self.__chinese_mode.set_active(self.__get_value("chinesemode", True)) self.__full_half_english.set_active(self.__get_value("fullhalfenglish", False)) 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", True)) # connect signals self.__chinese_mode.connect("toggled", self.__toggled_cb, "chinesemode") self.__full_half_english.connect("toggled", self.__toggled_cb, "fullhalfenglish") 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") |