Fixed Bug 661943 - the latest page_size for ibus.LookupTable.

This commit is contained in:
Takao Fujiwara 2010-12-10 14:56:31 +09:00
parent 581de086e3
commit 965b5a2bef
2 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
From 6dd2852a36654a4ba1a7c142431a713f10de60a9 Mon Sep 17 00:00:00 2001 From 70633cda85851e0cdd6353d553649cbb51200a5c Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com> From: fujiwarat <takao.fujiwara1@gmail.com>
Date: Fri, 10 Dec 2010 12:02:39 +0900 Date: Fri, 10 Dec 2010 14:54:15 +0900
Subject: [PATCH] Fixed the latest page_size for ibus.LookupTable. Subject: [PATCH] Fixed the latest page_size for ibus.LookupTable.
--- ---
@ -8,19 +8,19 @@ Subject: [PATCH] Fixed the latest page_size for ibus.LookupTable.
1 files changed, 3 insertions(+), 0 deletions(-) 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/engine/engine.py b/engine/engine.py diff --git a/engine/engine.py b/engine/engine.py
index c2bc8f0..2facf77 100644 index c2bc8f0..6dd4461 100644
--- a/engine/engine.py --- a/engine/engine.py
+++ b/engine/engine.py +++ b/engine/engine.py
@@ -168,6 +168,9 @@ class Engine(ibus.EngineBase): @@ -756,6 +756,9 @@ class Engine(ibus.EngineBase):
self.__segments = list() self.__update_input_chars()
self.__lookup_table.clean() # self.__reset()
self.__lookup_table_visible = False # self.__invalidate()
+ size = self.__prefs.get_value('common', 'page_size') + size = self.__prefs.get_value('common', 'page_size')
+ if size != self.__lookup_table.get_page_size(): + if size != self.__lookup_table.get_page_size():
+ self.__lookup_table.set_page_size(size) + self.__lookup_table.set_page_size(size)
self._MM = 0
self._SS = 0 def focus_out(self):
self._H = 0 mode = self.__prefs.get_value('common', 'behavior_on_focus_out')
-- --
1.7.3.2 1.7.3.2

View File

@ -3,7 +3,7 @@
%define require_pygtk2_version 2.15.2 %define require_pygtk2_version 2.15.2
Name: ibus-anthy Name: ibus-anthy
Version: 1.2.5 Version: 1.2.5
Release: 2%{?dist} Release: 3%{?dist}
Summary: The Anthy engine for IBus input platform Summary: The Anthy engine for IBus input platform
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
@ -60,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/ibus/component/* %{_datadir}/ibus/component/*
%changelog %changelog
* Fri Dec 10 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.2.5-2 * Fri Dec 10 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.2.5-3
- Added ibus-anthy-HEAD.patch - Added ibus-anthy-HEAD.patch
Fixed Bug 661943 - the latest page_size for ibus.LookupTable. Fixed Bug 661943 - the latest page_size for ibus.LookupTable.