From edea8d0597b3067d10f913b746614aa11fe7e113 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 26 Sep 2004 16:38:57 +0000 Subject: [PATCH] bugfix : present chat window when double click on trayicon --- plugins/gtkgui/gtkgui.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index ed41a9ccf..9a36dadbf 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -1940,10 +1940,8 @@ class systray: else: account = self.jids[0][0] jid = self.jids[0][1] - if string.find(jid, '@'): - if self.plugin.windows[account]['gc'].has_key(jid): - self.plugin.windows[account]['gc'][jid].window.present() - return + if self.plugin.windows[account]['gc'].has_key(jid): + self.plugin.windows[account]['gc'][jid].window.present() if self.plugin.windows[account]['chats'].has_key(jid): self.plugin.windows[account]['chats'][jid].window.present() else: