prevent traceback when trying to show event from gajim-remote while there is no event. Fixes #5031

This commit is contained in:
Yann Leboulanger 2009-05-20 10:58:46 +02:00
parent ffd82a69a4
commit 796c5084c5
1 changed files with 2 additions and 0 deletions

View File

@ -346,6 +346,8 @@ class Systray:
def handle_first_event(self):
account, jid, event = gajim.events.get_first_systray_event()
if not event:
return
gajim.interface.handle_event(account, jid, event.type_)
def on_middle_click(self):