only change trayicon if we use tabbedui

This commit is contained in:
Nikos Kouremenos 2005-08-11 17:59:56 +00:00
parent 72f93e7f22
commit 128f6e1e67
1 changed files with 1 additions and 1 deletions

View File

@ -1144,7 +1144,7 @@ class Chat:
if text.find(self.nicks[jid]) == -1:
return
self.nb_unread[jid] += 1
if self.plugin.systray_enabled and not gajim.config.get('autopopup'):
if self.plugin.systray_enabled and gajim.config.get('usetabbedchat'):
# if we 'pop it up' when we receive * [n] is enough
self.plugin.systray.add_jid(jid, self.account)
self.redraw_tab(jid)