applying a patch by alfudio [sorry if wrong nick]

This commit is contained in:
Nikos Kouremenos 2005-06-06 22:51:10 +00:00
parent b4469f8fa8
commit 47e3fd3ddc
1 changed files with 5 additions and 0 deletions

View File

@ -220,6 +220,11 @@ class Systray:
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)