Do not TB if systray is not available.

This commit is contained in:
Jean-Marie Traissard 2006-09-15 11:10:49 +00:00
parent 3504a77713
commit 124f1c641e
1 changed files with 2 additions and 1 deletions

View File

@ -3133,7 +3133,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
model[iter][1] = self.jabber_state_images['16'][model[iter][2]]
iter = model.iter_next(iter)
# Update the systray
gajim.interface.systray.set_img()
if gajim.interface.systray_enabled:
gajim.interface.systray.set_img()
for win in gajim.interface.msg_win_mgr.windows():
for ctrl in win.controls():