[urandom] fix position of notification when attach_to_systray is enabled. Fixes #4537

This commit is contained in:
Yann Leboulanger 2008-11-30 21:37:50 +00:00
parent e9b1726e99
commit 3ce1baa5d3
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ class DesktopNotification:
if version > [0, 3]: if version > [0, 3]:
if gajim.interface.systray_enabled and \ if gajim.interface.systray_enabled and \
gajim.config.get('attach_notifications_to_systray'): 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 = \ x_, y_, width, height, depth = \
gajim.interface.systray.img_tray.window.get_geometry() gajim.interface.systray.img_tray.window.get_geometry()
pos_x = x + (width / 2) pos_x = x + (width / 2)