From 26faed1de176cd48773c3aa8212160ecb22db4a7 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 7 Mar 2005 21:38:50 +0000 Subject: [PATCH] whn we click on the systray icon: show the correct tab --- plugins/gtkgui/gtkgui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index ad7cfdf3a..579248a33 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -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(