Fixes pinyin and bopomofo config
This commit is contained in:
parent
a42d1e4b7b
commit
3e28863648
@ -0,0 +1,22 @@
|
||||
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);
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
%global snapshot 0
|
||||
%global snapshot 1
|
||||
|
||||
Name: ibus-libpinyin
|
||||
Version: 1.9.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Intelligent Pinyin engine based on libpinyin for IBus
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
@ -86,6 +86,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
%{_datadir}/ibus/component/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 28 2017 Peng Wu <pwu@redhat.com> - 1.9.1-2
|
||||
- Fixes pinyin and bopomofo config
|
||||
|
||||
* Thu Aug 24 2017 Peng Wu <pwu@redhat.com> - 1.9.1-1
|
||||
- Update to 1.9.1
|
||||
- add sort candidate option to setup dialog
|
||||
|
Loading…
Reference in New Issue
Block a user