Skip to content
Snippets Groups Projects
Commit 43f4dd14 authored by Dicson's avatar Dicson
Browse files

correct position of the window while reading the new event by clicking on the tray icon

(restore window coordinates when it is the maximization of the system tray)
parent 04418850
No related branches found
No related tags found
No related merge requests found
......@@ -414,6 +414,11 @@ class StatusIcon:
account, jid, event = gajim.events.get_first_systray_event()
if not event:
return
win = gajim.interface.roster.window
if not win.get_property('visible'):
gtkgui_helpers.move_window(win,
gajim.config.get('roster_x-position'),
gajim.config.get('roster_y-position'))
gajim.interface.handle_event(account, jid, event.type_)
def on_middle_click(self):
......
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