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

call left_click handler of statusicon in main loop with idle_add. fixes #3567

parent a332543d
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
import sys
import gtk
import systray
import gobject
from common import gajim
from common import helpers
......@@ -59,7 +60,7 @@ class StatusIcon(systray.Systray):
self.unsubscribe_events()
def on_status_icon_left_clicked(self, widget):
self.on_left_click()
gobject.idle_add(self.on_left_click)
def set_img(self):
'''apart from image, we also update tooltip text here'''
......
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