create xml console window when we create a new account

This commit is contained in:
Yann Leboulanger 2005-08-18 08:32:35 +00:00
parent ab3df4e540
commit 6cb304610b
1 changed files with 2 additions and 1 deletions

View File

@ -547,7 +547,8 @@ class Interface:
gajim.config.set_per('accounts', name, opt, array[1][opt])
if self.windows.has_key('account_modification'):
self.windows['account_modification'].account_is_ok(array[0])
self.windows[name] = {'infos': {}, 'chats': {}, 'gc': {}, 'gc_config': {}}
self.windows[name] = {'infos': {}, 'chats': {}, 'gc': {}, 'gc_config': {}}
self.windows[name]['xml_console'] = dialogs.XMLConsoleWindow(self, name)
gajim.awaiting_messages[name] = {}
# disconnect from server - our status in roster is offline
gajim.connections[name].connected = 1