we now call the AccountCreationWizard window each time we create a new account

This commit is contained in:
Yann Leboulanger 2005-11-03 09:33:22 +00:00
parent acd09eaba2
commit 41cbaa7c2b
1 changed files with 4 additions and 4 deletions

View File

@ -1699,11 +1699,11 @@ class AccountsWindow:
def on_new_button_clicked(self, widget): def on_new_button_clicked(self, widget):
'''When new button is clicked: open an account information window''' '''When new button is clicked: open an account information window'''
if gajim.interface.windows.has_key('account_modification'): if gajim.interface.windows.has_key('wizard_window'):
gajim.interface.windows['account_modification'].window.present() gajim.interface.windows['wizard_window'].window.present()
else: else:
gajim.interface.windows['account_modification'] = \ gajim.interface.windows['wizard_window'] = \
AccountModificationWindow('') AccountCreationWizardWindow()
def on_remove_button_clicked(self, widget): def on_remove_button_clicked(self, widget):
'''When delete button is clicked: '''When delete button is clicked: