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):
'''When new button is clicked: open an account information window'''
if gajim.interface.windows.has_key('account_modification'):
gajim.interface.windows['account_modification'].window.present()
if gajim.interface.windows.has_key('wizard_window'):
gajim.interface.windows['wizard_window'].window.present()
else:
gajim.interface.windows['account_modification'] = \
AccountModificationWindow('')
gajim.interface.windows['wizard_window'] = \
AccountCreationWizardWindow()
def on_remove_button_clicked(self, widget):
'''When delete button is clicked: