summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorStephen Elsemore2013-04-30 10:51:30 (EDT)
committer Matthias Sohn2013-04-30 17:40:33 (EDT)
commit663ad7b0368cbe162d269051e9f764b52a5f7822 (patch)
tree7b4429aea38bc2649b715f05f15ecf8191140ff4
parent38d3d84c0d1dea2bc79d0fe5edccf875d1991113 (diff)
downloadegit-663ad7b0368cbe162d269051e9f764b52a5f7822.zip
egit-663ad7b0368cbe162d269051e9f764b52a5f7822.tar.gz
egit-663ad7b0368cbe162d269051e9f764b52a5f7822.tar.bz2
[repoView] Show correct icons for add/create new repositoryrefs/changes/88/12388/2
Use the correct icons for the add/create repository links that are shown in an empty Git Repositories view. Bug: 406910 Change-Id: Ic82fda5da5bfed793010a560e6cb245b46e66881 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java
index 66babdd..9a31b5f 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java
@@ -284,7 +284,7 @@ public class RepositoriesView extends CommonNavigator implements IShowInSource,
.getDisplay());
Label addLabel = new Label(optionsArea, SWT.NONE);
- Image addImage = UIIcons.CREATE_REPOSITORY.createImage();
+ Image addImage = UIIcons.NEW_REPOSITORY.createImage();
UIUtils.hookDisposal(addLabel, addImage);
addLabel.setImage(addImage);
Hyperlink addLink = toolkit.createHyperlink(optionsArea,
@@ -320,7 +320,7 @@ public class RepositoriesView extends CommonNavigator implements IShowInSource,
.grab(true, false).applyTo(cloneLink);
Label createLabel = new Label(optionsArea, SWT.NONE);
- Image createImage = UIIcons.NEW_REPOSITORY.createImage();
+ Image createImage = UIIcons.CREATE_REPOSITORY.createImage();
UIUtils.hookDisposal(createLabel, createImage);
createLabel.setImage(createImage);
Hyperlink createLink = toolkit.createHyperlink(optionsArea,