Fixes preferred account initial wizard form and default server value.

cusax-fix
yanas 13 years ago
parent 7e3ee0aaa9
commit b7572e92a9

@ -244,6 +244,9 @@ private void initAccountWizards()
logger.error("GuiActivator : ", ex);
}
}
SimpleAccountRegistrationActivator.bundleContext
.addServiceListener(this);
}
/**
@ -292,6 +295,12 @@ public AccountRegistrationPanel(
this.wizard = accountWizard;
// Obtain the simple form in order to initialize all predefined
// values.
// TODO: Use the simple form instead of creating new fields and
// panels here.
wizard.getSimpleForm(false);
JLabel protocolLabel = new JLabel();
JPanel inputRegisterPanel = new JPanel(new BorderLayout());
@ -497,7 +506,7 @@ public void serviceChanged(ServiceEvent event)
*/
private void addAccountRegistrationForm(AccountRegistrationWizard wizard)
{
// We don't need to add wizards that are not interested in a
// We don't need to add wizards that are not interested in a
// simple sign in form.
if (!wizard.isSimpleFormEnabled())
return;

Loading…
Cancel
Save