when removing an account, close only windows that belong to this account. Fixes #2408
This commit is contained in:
parent
c18df68b21
commit
532e0bb60a
|
@ -2648,7 +2648,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
|||
def close_all(self, account):
|
||||
'''close all the windows from an account'''
|
||||
self.close_all_from_dict(gajim.interface.instances[account])
|
||||
for ctrl in gajim.interface.msg_win_mgr.get_controls():
|
||||
for ctrl in gajim.interface.msg_win_mgr.get_controls(acct = account):
|
||||
ctrl.parent_win.remove_tab(ctrl)
|
||||
|
||||
def on_roster_window_delete_event(self, widget, event):
|
||||
|
|
Loading…
Reference in New Issue