Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2019-08-25 06:55:44 -0400
committerMichael Keppler2019-08-27 03:10:23 -0400
commit478756d3a953d31ad0bb3912a50a21a5dc2e2243 (patch)
tree6c7794e35450e1dbd5a9ca5a2d09679c31bcf32f /org.eclipse.egit.ui
parent0aef5a35e5a4a6d09646d9fb3184462ebda89ebb (diff)
downloadegit-478756d3a953d31ad0bb3912a50a21a5dc2e2243.tar.gz
egit-478756d3a953d31ad0bb3912a50a21a5dc2e2243.tar.xz
egit-478756d3a953d31ad0bb3912a50a21a5dc2e2243.zip
Change status bar label for repository view nodes
Previously we used "node - repository" for the label in the status bar. Let's use "node [repository]" instead. That pattern is used everywhere else by egit (package explorer decoration, history page input etc.). Change-Id: I82764652c97b5497f6e230e10744a7cdb10138ac Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.ui')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryTreeNodeLabelProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryTreeNodeLabelProvider.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryTreeNodeLabelProvider.java
index f6dd473fe..864ea7fa7 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryTreeNodeLabelProvider.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryTreeNodeLabelProvider.java
@@ -180,7 +180,8 @@ public class RepositoryTreeNodeLabelProvider
.getType() != RepositoryTreeNodeType.REPO) {
Repository repo = ((RepositoryTreeNode) element)
.getRepository();
- result.append(" - ").append(GitLabels.getPlainShortLabel(repo)); //$NON-NLS-1$
+ result.append(" [").append(GitLabels.getPlainShortLabel(repo)) //$NON-NLS-1$
+ .append(']');
}
}
return result.toString();

Back to the top