typo
This commit is contained in:
parent
9e58a5b68c
commit
ea4eca20b3
|
@ -221,10 +221,11 @@ class Systray:
|
||||||
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 event.button == 2: # middle click
|
||||||
|
win = self.plugin.roster.window
|
||||||
if win.flags() & gtk.VISIBLE:
|
if win.flags() & gtk.VISIBLE:
|
||||||
self.plugin.roster.window.hide()
|
win.hide()
|
||||||
else:
|
else:
|
||||||
self.plugin.roster.window.present()
|
win.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