prevent infinite loop when using show all pending events from systray

This commit is contained in:
Yann Leboulanger 2006-03-31 07:47:27 +00:00
parent d4cc5cd6c0
commit efcc8a1c94
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class Systray:
self.systray_context_menu.show_all()
def on_show_all_events_menuitem_activate(self, widget):
while len(self.jids):
for i in range(len(self.jids)):
self.handle_first_event()
def on_show_roster_menuitem_activate(self, widget):