the account wizard is saved in the net.java.sip.communicator.impl.ui.accounts.[accountID] path in the sip-communicator.xml

cusax-fix
Yana Stamcheva 20 years ago
parent 4b97ad6288
commit 5bb224854c

@ -195,16 +195,16 @@ public void modifyAccount(ProtocolProviderService protocolProvider) {
String wizardClassName = null;
String prefix = "net.java.sip.communicator.impl.ui";
String prefix = "net.java.sip.communicator.impl.ui.accounts";
List accounts = this.configService
.getPropertyNamesByPrefix(prefix, true);
Iterator accountsIter = accounts.iterator();
while(accountsIter.hasNext()) {
while(accountsIter.hasNext()) {
String accountRootPropName = (String) accountsIter.next();
String accountUID = configService.getString(accountRootPropName);
if(accountUID.equals(protocolProvider
@ -270,7 +270,7 @@ public void addAccountWizard(
String wizardClassName = wizard.getClass()
.getName().replace('.', '_');
String accountPackage = "net.java.sip.communicator.impl.ui."
String accountPackage = "net.java.sip.communicator.impl.ui.accounts."
+ accNodeName;
configService.setProperty(accountPackage,

Loading…
Cancel
Save