bugfix : present chat window when double click on trayicon
This commit is contained in:
parent
fc7ece41ee
commit
edea8d0597
1 changed files with 2 additions and 4 deletions
|
@ -1940,10 +1940,8 @@ class systray:
|
||||||
else:
|
else:
|
||||||
account = self.jids[0][0]
|
account = self.jids[0][0]
|
||||||
jid = self.jids[0][1]
|
jid = self.jids[0][1]
|
||||||
if string.find(jid, '@'):
|
if self.plugin.windows[account]['gc'].has_key(jid):
|
||||||
if self.plugin.windows[account]['gc'].has_key(jid):
|
self.plugin.windows[account]['gc'][jid].window.present()
|
||||||
self.plugin.windows[account]['gc'][jid].window.present()
|
|
||||||
return
|
|
||||||
if self.plugin.windows[account]['chats'].has_key(jid):
|
if self.plugin.windows[account]['chats'].has_key(jid):
|
||||||
self.plugin.windows[account]['chats'][jid].window.present()
|
self.plugin.windows[account]['chats'][jid].window.present()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue