summaryrefslogtreecommitdiffstats
path: root/setup/main.py
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2010-04-15 13:11:40 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2010-04-15 15:25:22 +0800
commit547f5f2edf23027731a3e9f13f2de60a32224c9f (patch)
tree1bfc386491e10f9064c349a337f6ed031445a395 /setup/main.py
parent5b2e8ff3ea0efa7e44eafef1a697683f3f06fdf5 (diff)
downloadibus-libpinyin-547f5f2edf23027731a3e9f13f2de60a32224c9f.tar.gz
ibus-libpinyin-547f5f2edf23027731a3e9f13f2de60a32224c9f.tar.xz
ibus-libpinyin-547f5f2edf23027731a3e9f13f2de60a32224c9f.zip
Update the phrases.txt location
Diffstat (limited to 'setup/main.py')
-rw-r--r--setup/main.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/setup/main.py b/setup/main.py
index ac18d66..fed0c83 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -117,7 +117,6 @@ class PreferencesDialog:
self.__comma_period_page = self.__builder.get_object("CommaPeriodPage")
self.__auto_commit = self.__builder.get_object("AutoCommit")
self.__trad_candidate = self.__builder.get_object("TradCandidate")
- self.__half_width_puncts = self.__builder.get_object("HalfWidthPuncts")
# read values
self.__lookup_table_orientation.set_active(self.__get_value("LookupTableOrientation", 0))
@@ -127,7 +126,6 @@ class PreferencesDialog:
self.__comma_period_page.set_active(self.__get_value("CommaPeriodPage", True))
self.__auto_commit.set_active(self.__get_value("AutoCommit", False))
self.__trad_candidate.set_active(self.__get_value("TradCandidate", False))
- self.__half_width_puncts.set_text(self.__get_value("HalfWidthPuncts", "+-*/=%"))
# connect signals
def __lookup_table_page_size_changed_cb(adjustment):
@@ -148,7 +146,6 @@ class PreferencesDialog:
def __entry_activate_cb(widget, name):
text = widget.get_text()
self.__set_value(name, text)
- self.__half_width_puncts.connect("activate", __entry_activate_cb, "HalfWidthPuncts")
def __init_correct_pinyin(self):
# auto correct