open chat windows, if needed, on double click on systray icon
This commit is contained in:
parent
bb6b3f9060
commit
7a413ec749
|
@ -1307,6 +1307,10 @@ class systray:
|
||||||
jid = self.jids[0][1]
|
jid = self.jids[0][1]
|
||||||
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:
|
||||||
|
self.plugin.windows[account]['chats'][jid] = message_Window(\
|
||||||
|
self.plugin.roster.contacts[account][jid][0], self.plugin, \
|
||||||
|
account)
|
||||||
if event.button == 3:
|
if event.button == 3:
|
||||||
self.mk_menu(event)
|
self.mk_menu(event)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue