summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-10-02 19:59:01 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-10-02 19:59:01 +0800
commitd74ac7f45da5d97966d1953ccd700001c5f66d3d (patch)
tree74234346804680c3bc04c01d05cd6ba190c41ccf
parent7a3a662e068029be7759d35166711702ba5290ac (diff)
downloadibus-d74ac7f45da5d97966d1953ccd700001c5f66d3d.tar.gz
ibus-d74ac7f45da5d97966d1953ccd700001c5f66d3d.tar.xz
ibus-d74ac7f45da5d97966d1953ccd700001c5f66d3d.zip
Put languagebar in right bottom of root window.
-rw-r--r--panel/languagebar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/panel/languagebar.py b/panel/languagebar.py
index e58ad48..65eb2e5 100644
--- a/panel/languagebar.py
+++ b/panel/languagebar.py
@@ -67,7 +67,7 @@ class LanguageBar(gtk.Toolbar):
workarea = root.property_get("_NET_WORKAREA")[2]
right, bottom = workarea[2], workarea[3]
except:
- right, bottom = 640, 480
+ right, bottom = root.get_size()
self.__position = right - 200, bottom - 40
self.__toplevel.move(*self.__position)