fix showing of systray popup menu under Windows. fixes #3611

This commit is contained in:
Yann Leboulanger 2007-12-15 12:33:21 +00:00
parent 4f4e9a3723
commit 28878b111d
1 changed files with 7 additions and 11 deletions

View File

@ -254,14 +254,10 @@ class Systray:
item = gtk.MenuItem(_('Hide this menu')) item = gtk.MenuItem(_('Hide this menu'))
self.systray_context_menu.prepend(item) self.systray_context_menu.prepend(item)
self.added_hide_menuitem = True self.added_hide_menuitem = True
self.systray_context_menu.popup(None, None,
gtk.status_icon_position_menu, event_button,
event_time, self.status_icon)
else: # GNU and Unices
self.systray_context_menu.popup(None, None, None, event_button,
event_time)
self.systray_context_menu.show_all() self.systray_context_menu.show_all()
self.systray_context_menu.popup(None, None, None, event_button,
event_time)
def on_show_all_events_menuitem_activate(self, widget): def on_show_all_events_menuitem_activate(self, widget):
events = gajim.events.get_systray_events() events = gajim.events.get_systray_events()