projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e6c76
)
Set lookup table's orientation before updating candidates.
author
Peng Huang
<shawn.p.huang@gmail.com>
Fri, 26 Mar 2010 07:32:23 +0000
(15:32 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Fri, 26 Mar 2010 07:42:01 +0000
(15:42 +0800)
ui/gtk/candidatepanel.py
patch
|
blob
|
history
diff --git
a/ui/gtk/candidatepanel.py
b/ui/gtk/candidatepanel.py
index 8ee29a30d9b86f34b37c9b4bf6ecc55c58602369..e5b26e3a1764cc9d5a575541674ca764a38ae3cb 100644
(file)
--- a/
ui/gtk/candidatepanel.py
+++ b/
ui/gtk/candidatepanel.py
@@
-389,12
+389,12
@@
class CandidatePanel(gtk.VBox):
self.hide_lookup_table()
self.__lookup_table = lookup_table or ibus.LookupTable()
- self.__refresh_candidates()
- self.__refresh_labels()
orientation = self.__lookup_table.get_orientation()
if orientation not in (ibus.ORIENTATION_HORIZONTAL, ibus.ORIENTATION_VERTICAL):
orientation = self.__orientation
self.set_current_orientation(orientation)
+ self.__refresh_candidates()
+ self.__refresh_labels()
# show lookup table
if visible: