diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-10-02 19:59:01 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-10-02 19:59:01 +0800 |
commit | d74ac7f45da5d97966d1953ccd700001c5f66d3d (patch) | |
tree | 74234346804680c3bc04c01d05cd6ba190c41ccf | |
parent | 7a3a662e068029be7759d35166711702ba5290ac (diff) | |
download | ibus-d74ac7f45da5d97966d1953ccd700001c5f66d3d.tar.gz ibus-d74ac7f45da5d97966d1953ccd700001c5f66d3d.tar.xz ibus-d74ac7f45da5d97966d1953ccd700001c5f66d3d.zip |
Put languagebar in right bottom of root window.
-rw-r--r-- | panel/languagebar.py | 2 |
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) |