better varname

This commit is contained in:
Nikos Kouremenos 2005-10-29 17:02:59 +00:00
parent 1b62d12dba
commit c2994578ad
1 changed files with 2 additions and 2 deletions

View File

@ -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()