changeset 864301a74d3f in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=864301a74d3f description: correctly check window list size before removing from it
diffstat:
src/dialogs.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 316a272ea2f0 -r 864301a74d3f src/dialogs.py --- a/src/dialogs.py Mon Apr 30 21:04:37 2012 +0200 +++ b/src/dialogs.py Tue Apr 24 14:18:54 2012 +0400 @@ -2832,7 +2832,7 @@ gajim.interface.roster.popups_notification_height -= self.window_height self.window.destroy()
- if len(gajim.interface.roster.popup_notification_windows) > 0: + if len(gajim.interface.roster.popup_notification_windows) > self.index: # we want to remove the destroyed window from the list gajim.interface.roster.popup_notification_windows.pop(self.index)