account name is now the server name
This commit is contained in:
parent
8d26752f48
commit
6556b2724e
1 changed files with 6 additions and 5 deletions
|
@ -2455,11 +2455,6 @@ class AccountCreationWizardWindow:
|
||||||
self.sync = True
|
self.sync = True
|
||||||
# the first account *has* to autoconnect by default
|
# the first account *has* to autoconnect by default
|
||||||
self.autoconnect = True
|
self.autoconnect = True
|
||||||
self.account = _('Main')
|
|
||||||
i = 1
|
|
||||||
while self.account in gajim.connections:
|
|
||||||
self.account = _('Main') + str(i)
|
|
||||||
i += 1
|
|
||||||
|
|
||||||
self.notebook.set_current_page(0)
|
self.notebook.set_current_page(0)
|
||||||
self.advanced_button.set_no_show_all(True)
|
self.advanced_button.set_no_show_all(True)
|
||||||
|
@ -2542,6 +2537,12 @@ class AccountCreationWizardWindow:
|
||||||
dialogs.ErrorDialog(pritext, str(s)).get_response()
|
dialogs.ErrorDialog(pritext, str(s)).get_response()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.account = server
|
||||||
|
i = 1
|
||||||
|
while self.account in gajim.connections:
|
||||||
|
self.account = server + str(i)
|
||||||
|
i += 1
|
||||||
|
|
||||||
username, server = gajim.get_room_name_and_server_from_room_jid(jid)
|
username, server = gajim.get_room_name_and_server_from_room_jid(jid)
|
||||||
self.save_account(username, server, savepass, password)
|
self.save_account(username, server, savepass, password)
|
||||||
self.cancel_button.hide()
|
self.cancel_button.hide()
|
||||||
|
|
Loading…
Add table
Reference in a new issue