From 3ce1baa5d301359bb15d45ca2d127af10f06d72e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 30 Nov 2008 21:37:50 +0000 Subject: [PATCH] [urandom] fix position of notification when attach_to_systray is enabled. Fixes #4537 --- src/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notify.py b/src/notify.py index 598df3fc3..9a6ba87e6 100644 --- a/src/notify.py +++ b/src/notify.py @@ -530,7 +530,7 @@ class DesktopNotification: 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_position() + x, y = gajim.interface.systray.img_tray.window.get_origin() x_, y_, width, height, depth = \ gajim.interface.systray.img_tray.window.get_geometry() pos_x = x + (width / 2)