fix a TB when creating a new Account
This commit is contained in:
parent
e5ec93d0a9
commit
ab3df4e540
|
@ -1343,8 +1343,6 @@ _('To change the account name, you must be disconnected.')).get_response()
|
|||
_('You already have an account using this name.')).get_response()
|
||||
return
|
||||
con = connection.Connection(name)
|
||||
self.windows[name]['xml_console'] = \
|
||||
dialogs.XMLConsoleWindow(self, name)
|
||||
self.plugin.register_handlers(con)
|
||||
#if we need to register a new account
|
||||
if new_account:
|
||||
|
@ -1360,7 +1358,9 @@ _('To change the account name, you must be disconnected.')).get_response()
|
|||
gajim.connections[name].password = config['password']
|
||||
#update variables
|
||||
self.plugin.windows[name] = {'infos': {}, 'chats': {}, 'gc': {}, \
|
||||
'gc_config': {}}
|
||||
'gc_config': {}}
|
||||
self.plugin.windows[name]['xml_console'] = \
|
||||
dialogs.XMLConsoleWindow(self, name)
|
||||
gajim.awaiting_messages[name] = {}
|
||||
gajim.connections[name].connected = 0
|
||||
gajim.groups[name] = {}
|
||||
|
|
Loading…
Reference in New Issue