call got_[dis]connected() for all controls. Fixes #1845

This commit is contained in:
Yann Leboulanger 2006-04-11 12:35:50 +00:00
parent a9199bf921
commit d5d2f3c055
1 changed files with 1 additions and 2 deletions

View File

@ -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()