Skip to content
Snippets Groups Projects
Commit 47e3fd3d authored by nkour's avatar nkour
Browse files

applying a patch by alfudio [sorry if wrong nick]

parent b4469f8f
No related branches found
No related tags found
No related merge requests found
......@@ -220,6 +220,11 @@ def on_clicked(self, widget, event):
self.plugin.roster.contacts[account][jid][0], account)
acc['chats'][jid].set_active_tab(jid)
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
self.make_menu(event)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment