ibus-libpinyin/ibus-libpinyin-1.9.x-head.patch

23 lines
763 B
Diff
Raw Normal View History

2017-08-28 08:21:10 +00:00
commit 8882bce91bdc944bc7b6e028c239fc049c69c0cd
Author: Peng Wu <alexepico@gmail.com>
Date: Mon Aug 28 16:14:24 2017 +0800
fixes LibPinyinConfig::valueChangedCallback method
diff --git a/src/PYPConfig.cc b/src/PYPConfig.cc
index d4e2cfa..0eef387 100644
--- a/src/PYPConfig.cc
+++ b/src/PYPConfig.cc
@@ -311,9 +311,9 @@ LibPinyinConfig::valueChangedCallback (IBusConfig *config,
self->valueChanged (section, name, value);
- if (self->m_section == "engine/pinyin")
+ if (self->m_section == "engine/libpinyin")
LibPinyinBackEnd::instance ().setPinyinOptions (self);
- if (self->m_section == "engine/bopomofo")
+ if (self->m_section == "engine/libbopomofo")
LibPinyinBackEnd::instance ().setChewingOptions (self);
}