left click on systray under windows show pending events if there are. fixes #4167
This commit is contained in:
parent
4eebf0e036
commit
32eaa3219f
|
@ -62,7 +62,10 @@ class StatusIcon(systray.Systray):
|
|||
self.unsubscribe_events()
|
||||
|
||||
def on_status_icon_left_clicked(self, widget):
|
||||
if len(gajim.events.get_systray_events()) == 0:
|
||||
self.on_left_click()
|
||||
else:
|
||||
self.on_middle_click()
|
||||
|
||||
def set_img(self):
|
||||
'''apart from image, we also update tooltip text here'''
|
||||
|
|
Loading…
Reference in New Issue