bugfix : present chat window when double click on trayicon

This commit is contained in:
Yann Leboulanger 2004-09-26 16:38:57 +00:00
parent fc7ece41ee
commit edea8d0597
1 changed files with 2 additions and 4 deletions

View File

@ -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: