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:
7b7e338
)
Workaround for autohide problem with metacity
author
Peng Huang
<shawn.p.huang@gmail.com>
Sun, 31 Jan 2010 01:21:21 +0000
(09:21 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Sun, 31 Jan 2010 01:21:21 +0000
(09:21 +0800)
ui/gtk/languagebar.py
patch
|
blob
|
history
diff --git
a/ui/gtk/languagebar.py
b/ui/gtk/languagebar.py
index f8b8665bd35a23b16e8e7748ef5f44d0b706aa9c..41c136d6db6e954cf56d7d531075f0310e74294f 100644
(file)
--- a/
ui/gtk/languagebar.py
+++ b/
ui/gtk/languagebar.py
@@
-309,6
+309,11
@@
class LanguageBar(gtk.Toolbar):
gtk.Toolbar.show_all(self)
def hide_all(self):
+ try:
+ self.__toplevel.window.lower()
+ self.__toplevel.window.hide_all()
+ except:
+ pass
x, y = self.__toplevel.get_position()
self.__toplevel.hide_all()
gtk.Toolbar.hide_all(self)