call got_[dis]connected() for all controls. Fixes #1845
This commit is contained in:
parent
a9199bf921
commit
d5d2f3c055
|
@ -295,8 +295,7 @@ class Interface:
|
||||||
model[self.roster.status_message_menuitem_iter][3] = True
|
model[self.roster.status_message_menuitem_iter][3] = True
|
||||||
|
|
||||||
# Inform all controls for this account of the connection state change
|
# Inform all controls for this account of the connection state change
|
||||||
for ctrl in self.msg_win_mgr.get_controls(
|
for ctrl in self.msg_win_mgr.get_controls():
|
||||||
type = message_control.TYPE_GC):
|
|
||||||
if ctrl.account == account:
|
if ctrl.account == account:
|
||||||
if status == 'offline':
|
if status == 'offline':
|
||||||
ctrl.got_disconnected()
|
ctrl.got_disconnected()
|
||||||
|
|
Loading…
Reference in New Issue