Fixes click of ibus-libpinyin indicator menu.

This commit is contained in:
Peng Wu 2013-11-13 12:39:05 +08:00
parent cffa5b3fd5
commit 96e12003be
2 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,25 @@
From 5e6708be79ff90cf483bfc66e30437d5019404a0 Mon Sep 17 00:00:00 2001
From: Peng Wu <alexepico@gmail.com>
Date: Mon, 11 Nov 2013 15:38:35 +0800
Subject: [PATCH] fixes pinyin properties
---
src/PYPinyinProperties.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PYPinyinProperties.cc b/src/PYPinyinProperties.cc
index 66205de..2d562cc 100644
--- a/src/PYPinyinProperties.cc
+++ b/src/PYPinyinProperties.cc
@@ -189,7 +189,7 @@ PinyinProperties::reset (void)
gboolean
PinyinProperties::propertyActivate (const gchar *prop_name, guint prop_state) {
- const static std::string mode_chinese ("mode.chinese");
+ const static std::string mode_chinese ("InputMode");
const static std::string mode_full ("mode.full");
const static std::string mode_full_punct ("mode.full_punct");
const static std::string mode_simp ("mode.simp");
--
1.8.3.1

View File

@ -1,8 +1,8 @@
%global snapshot 0
%global snapshot 1
Name: ibus-libpinyin
Version: 1.6.92
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Intelligent Pinyin engine based on libpinyin for IBus
License: GPLv2+
Group: System Environment/Libraries
@ -88,6 +88,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%{_datadir}/ibus/component/*
%changelog
* Wed Nov 13 2013 Peng Wu <pwu@redhat.com> - 1.6.92-2
- Fixes click of ibus-libpinyin indicator menu. (rhbz#1028905)
* Thu Oct 24 2013 Peng Wu <pwu@redhat.com> - 1.6.92-1
- Update to 1.6.92