summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2022-01-11 14:34:10 +0800
committerPeng Wu <alexepico@gmail.com>2022-01-11 14:34:10 +0800
commitfd750ba2d288227bf7aef00d7126a4d1acb5ed7b (patch)
tree8666201c799bfbf9bc79a57b04bf1acd179160b1 /src
parent09b8f11aea70284a65d35b2709e1867e0637e0ec (diff)
downloadibus-libpinyin-fd750ba2d288227bf7aef00d7126a4d1acb5ed7b.tar.gz
ibus-libpinyin-fd750ba2d288227bf7aef00d7126a4d1acb5ed7b.tar.xz
ibus-libpinyin-fd750ba2d288227bf7aef00d7126a4d1acb5ed7b.zip
Change default value for comma-period-page option
Diffstat (limited to 'src')
-rw-r--r--src/PYConfig.cc2
-rw-r--r--src/PYPConfig.cc6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/PYConfig.cc b/src/PYConfig.cc
index f78129d..2f07f99 100644
--- a/src/PYConfig.cc
+++ b/src/PYConfig.cc
@@ -49,7 +49,7 @@ Config::initDefaultValues (void)
m_shift_select_candidate = FALSE;
m_minus_equal_page = TRUE;
- m_comma_period_page = TRUE;
+ m_comma_period_page = FALSE;
m_auto_commit = FALSE;
m_double_pinyin = FALSE;
diff --git a/src/PYPConfig.cc b/src/PYPConfig.cc
index 1717056..d543a79 100644
--- a/src/PYPConfig.cc
+++ b/src/PYPConfig.cc
@@ -131,7 +131,7 @@ LibPinyinConfig::initDefaultValues (void)
m_shift_select_candidate = FALSE;
m_minus_equal_page = TRUE;
- m_comma_period_page = TRUE;
+ m_comma_period_page = FALSE;
m_auto_commit = FALSE;
m_double_pinyin = FALSE;
@@ -548,7 +548,7 @@ PinyinConfig::readDefaultValues (void)
/* other */
m_shift_select_candidate = read (CONFIG_SHIFT_SELECT_CANDIDATE, false);
m_minus_equal_page = read (CONFIG_MINUS_EQUAL_PAGE, true);
- m_comma_period_page = read (CONFIG_COMMA_PERIOD_PAGE, true);
+ m_comma_period_page = read (CONFIG_COMMA_PERIOD_PAGE, false);
m_auto_commit = read (CONFIG_AUTO_COMMIT, false);
m_lua_extension = read (CONFIG_LUA_EXTENSION, true);
@@ -615,7 +615,7 @@ PinyinConfig::valueChanged (const std::string &schema_id,
else if (CONFIG_MINUS_EQUAL_PAGE == name)
m_minus_equal_page = normalizeGVariant (value, true);
else if (CONFIG_COMMA_PERIOD_PAGE == name)
- m_comma_period_page = normalizeGVariant (value, true);
+ m_comma_period_page = normalizeGVariant (value, false);
else if (CONFIG_LUA_CONVERTER == name)
m_lua_converter = normalizeGVariant (value, std::string (""));
else if (CONFIG_AUTO_COMMIT == name)