fix TB when we remove an account. Fixes #3268
这个提交存在于:
父节点
e007756ac8
当前提交
c8d808d956
共有 1 个文件被更改,包括 5 次插入 和 2 次删除
|
@ -482,8 +482,11 @@ 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() + \
|
||||
self.minimized_controls[account].values():
|
||||
ctrls = self.msg_win_mgr.get_controls()
|
||||
if self.minimized_controls.has_key(account):
|
||||
# Can not be the case when we remove account
|
||||
ctrls += self.minimized_controls[account].values()
|
||||
for ctrl in ctrls:
|
||||
if ctrl.account == account:
|
||||
if status == 'offline' or (status == 'invisible' and \
|
||||
gajim.connections[account].is_zeroconf):
|
||||
|
|
正在加载…
添加表格
在新工单中引用