statusicon.py was incompatible with r11080. Fixed.

This commit is contained in:
js 2009-02-14 13:01:57 +00:00
parent fd088b09f5
commit db5f9bab05
1 changed files with 1 additions and 4 deletions

View File

@ -64,10 +64,7 @@ class StatusIcon(systray.Systray):
self.unsubscribe_events() self.unsubscribe_events()
def on_status_icon_left_clicked(self, widget): def on_status_icon_left_clicked(self, widget):
if len(gajim.events.get_systray_events()) == 0: self.on_left_click()
self.on_left_click()
else:
self.on_middle_click()
def set_img(self): def set_img(self):
'''apart from image, we also update tooltip text here''' '''apart from image, we also update tooltip text here'''