summaryrefslogtreecommitdiffstats
path: root/src/PYPConfig.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-04-21 12:27:43 +0800
committerPeng Wu <alexepico@gmail.com>2013-04-21 12:27:43 +0800
commit925f881e940d4573926f7ce224a5b81c4b35ffa3 (patch)
tree8445e7e4f943cac116a742912afb93c9e8d13eaa /src/PYPConfig.cc
parent5a6804db067ec7eeaface324f2bff3067399eb1f (diff)
downloadibus-libpinyin-925f881e940d4573926f7ce224a5b81c4b35ffa3.tar.gz
ibus-libpinyin-925f881e940d4573926f7ce224a5b81c4b35ffa3.tar.xz
ibus-libpinyin-925f881e940d4573926f7ce224a5b81c4b35ffa3.zip
fixes dictionaries option
Diffstat (limited to 'src/PYPConfig.cc')
-rw-r--r--src/PYPConfig.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PYPConfig.cc b/src/PYPConfig.cc
index 197f3b6..d53c708 100644
--- a/src/PYPConfig.cc
+++ b/src/PYPConfig.cc
@@ -102,7 +102,7 @@ LibPinyinConfig::initDefaultValues (void)
m_init_simp_chinese = TRUE;
m_special_phrases = TRUE;
- m_dictionaries = "2;4;5;6;7;8;9;10;11;12;13";
+ m_dictionaries = "2";
}
static const struct {
@@ -166,7 +166,7 @@ LibPinyinConfig::readDefaultValues (void)
g_warn_if_reached ();
}
m_ctrl_switch = read(CONFIG_CTRL_SWITCH, false);
- m_dictionaries = read (CONFIG_DICTIONARIES, std::string("2;4;5;6;7;8;9;10;11;12;13"));
+ m_dictionaries = read (CONFIG_DICTIONARIES, std::string("2"));
/* fuzzy pinyin */
if (read (CONFIG_FUZZY_PINYIN, false))
@@ -238,7 +238,7 @@ LibPinyinConfig::valueChanged (const std::string &section,
} else if (CONFIG_CTRL_SWITCH == name) {
m_ctrl_switch = normalizeGVariant (value, false);
} else if (CONFIG_DICTIONARIES == name) {
- m_dictionaries = normalizeGVariant (value, std::string("2;4;5;6;7;8;9;10;11;12;13"));
+ m_dictionaries = normalizeGVariant (value, std::string("2"));
}
/* fuzzy pinyin */
else if (CONFIG_FUZZY_PINYIN == name) {