summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-06-13 08:12:58 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-06-13 08:12:58 +0800
commit42dddc6caae6015611dfd0bd1b2b860c6bf9872b (patch)
tree74b26f808d6d89b3a14ea186c51f099e59e9618f
parent77737f7599eed37cd1a7753f686ba0e3d0d84f65 (diff)
downloadibus-42dddc6caae6015611dfd0bd1b2b860c6bf9872b.tar.gz
ibus-42dddc6caae6015611dfd0bd1b2b860c6bf9872b.tar.xz
ibus-42dddc6caae6015611dfd0bd1b2b860c6bf9872b.zip
Update lookup table when change orientation of candidate panel.
-rw-r--r--panel/candidatepanel.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/panel/candidatepanel.py b/panel/candidatepanel.py
index dd8480a..bfeb6ce 100644
--- a/panel/candidatepanel.py
+++ b/panel/candidatepanel.py
@@ -147,8 +147,7 @@ class CandidatePanel (gtk.VBox):
# create candidates area
self._candidate_area = CandidateArea (self._orientation)
self._candidate_area.set_no_show_all (True)
- if self._show_lookup_table:
- self._candidate_area.show_all ()
+ self.update_lookup_table (self._lookup_table, self._show_lookup_table)
# create state label
self._state_label = gtk.Label ()