From 2da5b774e7af7f9b8690ced35f0e7fadb18ebdfe Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 14 Nov 2005 10:49:07 +0000 Subject: [PATCH] close all opened windows related to an account when we remove it --- src/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config.py b/src/config.py index 3bcd50327..13b796489 100644 --- a/src/config.py +++ b/src/config.py @@ -2166,6 +2166,8 @@ class RemoveAccountWindow: if self.remove_and_unregister_radiobutton.get_active(): gajim.connections[self.account].unregister_account() + # Close all opened windows + gajim.interface.rostrer.close_all(gajim.interface.instances[self.account]) del gajim.connections[self.account] gajim.config.del_per('accounts', self.account) gajim.interface.save_config()