whn we click on the systray icon: show the correct tab

This commit is contained in:
Yann Leboulanger 2005-03-07 21:38:50 +00:00
parent 935e57c18c
commit 26faed1de1
1 changed files with 2 additions and 0 deletions

View File

@ -2804,8 +2804,10 @@ class systray:
account = self.jids[0][0]
jid = self.jids[0][1]
if self.plugin.windows[account]['gc'].has_key(jid):
self.plugin.windows[account]['gc'][jid].active_tab(jid)
self.plugin.windows[account]['gc'][jid].window.present()
elif self.plugin.windows[account]['chats'].has_key(jid):
self.plugin.windows[account]['chats'][jid].active_tab(jid)
self.plugin.windows[account]['chats'][jid].window.present()
else:
self.plugin.roster.new_chat(