we now call the AccountCreationWizard window each time we create a new account
This commit is contained in:
parent
acd09eaba2
commit
41cbaa7c2b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue