applying a patch by alfudio [sorry if wrong nick]
This commit is contained in:
parent
b4469f8fa8
commit
47e3fd3ddc
|
@ -220,6 +220,11 @@ class Systray:
|
||||||
self.plugin.roster.contacts[account][jid][0], account)
|
self.plugin.roster.contacts[account][jid][0], account)
|
||||||
acc['chats'][jid].set_active_tab(jid)
|
acc['chats'][jid].set_active_tab(jid)
|
||||||
acc['chats'][jid].window.present()
|
acc['chats'][jid].window.present()
|
||||||
|
if event.button == 2: # middle click
|
||||||
|
if win.flags() & gtk.VISIBLE:
|
||||||
|
self.plugin.roster.window.hide()
|
||||||
|
else:
|
||||||
|
self.plugin.roster.window.present()
|
||||||
if event.button == 3: # right click
|
if event.button == 3: # right click
|
||||||
self.make_menu(event)
|
self.make_menu(event)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue