Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-06-15 23:29:49 +0000
committerspingel2009-06-15 23:29:49 +0000
commit34b2daded98019aceb0ce7161a44ebc195f86c9f (patch)
treeadc8a214d8080fa6debba4d3a3c557ea78028329
parentaf2fe420225b92a46d3c88aafa3ae082d65387fb (diff)
downloadorg.eclipse.mylyn.tasks-34b2daded98019aceb0ce7161a44ebc195f86c9f.tar.gz
org.eclipse.mylyn.tasks-34b2daded98019aceb0ce7161a44ebc195f86c9f.tar.xz
org.eclipse.mylyn.tasks-34b2daded98019aceb0ce7161a44ebc195f86c9f.zip
RESOLVED - bug 278872: consider including the "Add more connectors..." button in the new task dialog
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278872
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/SelectRepositoryPage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/SelectRepositoryPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/SelectRepositoryPage.java
index fdc78fc01..050df7cf2 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/SelectRepositoryPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/SelectRepositoryPage.java
@@ -49,6 +49,7 @@ import org.eclipse.mylyn.internal.tasks.ui.views.TaskRepositoryLabelProvider;
import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector;
import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.ui.TasksUi;
+import org.eclipse.mylyn.tasks.ui.TasksUiImages;
import org.eclipse.mylyn.tasks.ui.TasksUiUtil;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.SWT;
@@ -137,6 +138,7 @@ public abstract class SelectRepositoryPage extends WizardSelectionPage {
Button button = new Button(buttonContainer, SWT.NONE);
button.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING | GridData.VERTICAL_ALIGN_BEGINNING));
+ button.setImage(CommonImages.getImage(TasksUiImages.REPOSITORY_NEW));
button.setText(AddRepositoryAction.TITLE);
button.setEnabled(action.isEnabled());
button.addSelectionListener(new SelectionAdapter() {

Back to the top