Author: asterix Date: 2007-06-03 15:42:51 +0200 (Sun, 03 Jun 2007) New Revision: 8201
Modified: trunk/src/gajim.py Log: prevent TB when we click on a popup notification of an already handled event
Modified: trunk/src/gajim.py =================================================================== --- trunk/src/gajim.py 2007-06-03 13:40:14 UTC (rev 8200) +++ trunk/src/gajim.py 2007-06-03 13:42:51 UTC (rev 8201) @@ -2180,6 +2180,8 @@ if not event: # default to jid without resource event = gajim.events.get_first_event(account, jid, type_) + if not event: + return # Open the window self.roster.open_event(account, jid, event) else: