hide / unhide on a single click on systray icon

This commit is contained in:
Yann Leboulanger 2005-01-16 17:21:45 +00:00
parent f84c11956e
commit 1fde50b12f
1 changed files with 1 additions and 1 deletions

View File

@ -2089,7 +2089,7 @@ class systray:
menu.reposition()
def on_clicked(self, widget, event):
if event.type == gtk.gdk._2BUTTON_PRESS and event.button == 1:
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
if len(self.jids) == 0:
win = self.plugin.roster.xml.get_widget('Gajim')
if self.iconified: