27 lines
846 B
Diff
27 lines
846 B
Diff
From 6dd2852a36654a4ba1a7c142431a713f10de60a9 Mon Sep 17 00:00:00 2001
|
|
From: fujiwarat <takao.fujiwara1@gmail.com>
|
|
Date: Fri, 10 Dec 2010 12:02:39 +0900
|
|
Subject: [PATCH] Fixed the latest page_size for ibus.LookupTable.
|
|
|
|
---
|
|
engine/engine.py | 3 +++
|
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/engine/engine.py b/engine/engine.py
|
|
index c2bc8f0..2facf77 100644
|
|
--- a/engine/engine.py
|
|
+++ b/engine/engine.py
|
|
@@ -168,6 +168,9 @@ class Engine(ibus.EngineBase):
|
|
self.__segments = list()
|
|
self.__lookup_table.clean()
|
|
self.__lookup_table_visible = False
|
|
+ size = self.__prefs.get_value('common', 'page_size')
|
|
+ if size != self.__lookup_table.get_page_size():
|
|
+ self.__lookup_table.set_page_size(size)
|
|
self._MM = 0
|
|
self._SS = 0
|
|
self._H = 0
|
|
--
|
|
1.7.3.2
|
|
|