better varname
This commit is contained in:
parent
1b62d12dba
commit
c2994578ad
|
@ -2892,11 +2892,11 @@ class FirstTimeWizardWindow:
|
|||
finish_text = _('Your new account has been created successfully.\n'
|
||||
'You can set advanced account options by clicking in Accounts menuitem under Edit menu from the main window.')
|
||||
|
||||
user = widgets['nick_entry'].get_text().decode('utf-8')
|
||||
username = widgets['nick_entry'].get_text().decode('utf-8')
|
||||
server = widgets['server_comboboxentry'].child.get_text()
|
||||
savepass = widgets['save_password_checkbutton'].get_active()
|
||||
password = widgets['pass_entry'].get_text()
|
||||
if self.check_data(user, server):
|
||||
if self.check_data(username, server):
|
||||
self.save_account(_('Main'), server, savepass, password, register_new)
|
||||
self.finish_label.set_text(finish_text)
|
||||
self.xml.get_widget('cancel_button').hide()
|
||||
|
|
Loading…
Reference in New Issue