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:
bef66b7
)
Shrink the IME switcher window size if necessary.
author
Peng Huang
<shawn.p.huang@gmail.com>
Wed, 7 Mar 2012 05:39:17 +0000
(
00:39
-0500)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Wed, 7 Mar 2012 05:39:17 +0000
(
00:39
-0500)
BUG=None
TEST=Manually
Review URL: https://codereview.appspot.com/5753056
ui/gtk3/switcher.vala
patch
|
blob
|
history
diff --git
a/ui/gtk3/switcher.vala
b/ui/gtk3/switcher.vala
index
dab70ab
..
76c67ec
100644
(file)
--- a/
ui/gtk3/switcher.vala
+++ b/
ui/gtk3/switcher.vala
@@
-173,6
+173,9
@@
class Switcher : Gtk.Window {
m_box.pack_start(button, true, true);
m_buttons += button;
}
+
+ // Cause window recalculate the perferred size.
+ resize(1, 1);
}
private void next_engine() {