Skip to content
Snippets Groups Projects
Commit 3ce1baa5 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent e9b1726e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment