changeset 6418a98956a1 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=6418a98956a1
description: get statusicon position and size correctly now that we swtiched to
gtk.statusicon
diffstat:
src/notify.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (15 lines):
diff -r 552b79ec155d -r 6418a98956a1 src/notify.py
--- a/src/notify.py Thu Nov 26 18:12:52 2009 +0200
+++ b/src/notify.py Thu Nov 26 20:18:09 2009 +0100
@@ -597,9 +597,8 @@
if version > [0, 3]:
if gajim.interface.systray_enabled and \
gajim.config.get('attach_notifications_to_systray'):
- x, y =
gajim.interface.systray.img_tray.window.get_origin()
- width, height, = \
-
gajim.interface.systray.img_tray.window.get_geometry()[2:4]
+ status_icon =
gajim.interface.systray.status_icon
+ x, y, width, height =
status_icon.get_geometry()[1]
pos_x = x + (width / 2)
pos_y = y + (height / 2)
hints = {'x': pos_x, 'y': pos_y}
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits