From 532e0bb60a241eb3de15f49a79eee390d944ae1d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 10 Sep 2006 17:28:47 +0000 Subject: [PATCH] when removing an account, close only windows that belong to this account. Fixes #2408 --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 99ec89d86..9c740ad67 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2648,7 +2648,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid) def close_all(self, account): '''close all the windows from an account''' self.close_all_from_dict(gajim.interface.instances[account]) - for ctrl in gajim.interface.msg_win_mgr.get_controls(): + for ctrl in gajim.interface.msg_win_mgr.get_controls(acct = account): ctrl.parent_win.remove_tab(ctrl) def on_roster_window_delete_event(self, widget, event):