From 5ac4a0d86c466117a0754cbf62ffaeabd0a4c88b Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 3 Sep 2006 11:34:06 +0000 Subject: [PATCH] remove no more used var. chat and gc are now handles by message window manager --- src/config.py | 4 ++-- src/gajim.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/config.py b/src/config.py index 7eb015e21..19c8bddc7 100644 --- a/src/config.py +++ b/src/config.py @@ -1344,7 +1344,7 @@ class AccountModificationWindow: for ctrl in gajim.interface.msg_win_mgr.get_controls(): ctrl.account = name # upgrade account variable in opened windows - for kind in ('infos', 'disco', 'chats', 'gc', 'gc_config'): + for kind in ('infos', 'disco', 'gc_config'): for j in gajim.interface.instances[name][kind]: gajim.interface.instances[name][kind][j].account = name @@ -2905,7 +2905,7 @@ _('You can set advanced account options by pressing Advanced button, or later by # update variables gajim.interface.instances[self.account] = {'infos': {}, 'disco': {}, - 'chats': {}, 'gc': {}, 'gc_config': {}} + 'gc_config': {}} gajim.connections[self.account].connected = 0 gajim.groups[self.account] = {} gajim.contacts.add_account(self.account) diff --git a/src/gajim.py b/src/gajim.py index d1f7fa7c9..c562f529c 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1842,8 +1842,7 @@ class Interface: self.instances = {'logs': {}} for a in gajim.connections: - self.instances[a] = {'infos': {}, 'disco': {}, 'chats': {}, - 'gc': {}, 'gc_config': {}} + self.instances[a] = {'infos': {}, 'disco': {}, 'gc_config': {}} gajim.contacts.add_account(a) gajim.groups[a] = {} gajim.gc_connected[a] = {}