From d5d2f3c055e9624b9333bd303d739aaecfa4f936 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 11 Apr 2006 12:35:50 +0000 Subject: [PATCH] call got_[dis]connected() for all controls. Fixes #1845 --- src/gajim.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index ed8aa6bf5..47cc6edb4 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -295,8 +295,7 @@ class Interface: model[self.roster.status_message_menuitem_iter][3] = True # Inform all controls for this account of the connection state change - for ctrl in self.msg_win_mgr.get_controls( - type = message_control.TYPE_GC): + for ctrl in self.msg_win_mgr.get_controls(): if ctrl.account == account: if status == 'offline': ctrl.got_disconnected()