Skip to content

Commit

Permalink
Merge pull request #21 from KlasJoenssson/AccountLogin
Browse files Browse the repository at this point in the history
Account login
  • Loading branch information
jonalv committed Aug 21, 2012
2 parents a277b48 + 8c26b15 commit 87cb543
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -231,7 +231,8 @@ public void setVisible(boolean visible) {
}

private void performNext(boolean enteringPage) {

if (addedAccounts.isEmpty())
return;
AccountPropertiesPage account =
addedAccounts.get(accountTypeCombo.getSelectionIndex());
if (enteringPage)
Expand Down
Expand Up @@ -297,6 +297,8 @@ public void widgetSelected(SelectionEvent e) {
formData_6.left = new FormAttachment(list, 0, SWT.LEFT);
addAccountButton.setLayoutData(formData_6);
addAccountButton.setText("Add account...");
if (sandBoxUserContainer.getAvailableAccountTypes().length == 0)
addAccountButton.setEnabled( false );

deleteAccountButton = new Button(container, SWT.NONE);
deleteAccountButton.addSelectionListener(new SelectionAdapter() {
Expand Down

0 comments on commit 87cb543

Please sign in to comment.