Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2015-07-17 17:08:46 +0000
committerFrank Becker2015-07-17 17:08:46 +0000
commit283d63e151a54f3834beb6d28e9f61d40890b6ca (patch)
tree837809de0aa32e26c7d94752a5df4dbddec491fd
parent251a6070860223f7341ee3e6c324c83c52c93f08 (diff)
downloadorg.eclipse.mylyn.tasks-283d63e151a54f3834beb6d28e9f61d40890b6ca.tar.gz
org.eclipse.mylyn.tasks-283d63e151a54f3834beb6d28e9f61d40890b6ca.tar.xz
org.eclipse.mylyn.tasks-283d63e151a54f3834beb6d28e9f61d40890b6ca.zip
472967: SeeAlsoEditor show wrong icon for git.eclipse.org/r gerrit
reviews Change-Id: I8d412d48d6dc2699123e4e7a47a5897969b20bb2 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=472967
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaSeeAlsoAttributeEditor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaSeeAlsoAttributeEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaSeeAlsoAttributeEditor.java
index 9c120522b..e5b390d30 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaSeeAlsoAttributeEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaSeeAlsoAttributeEditor.java
@@ -77,8 +77,8 @@ public class BugzillaSeeAlsoAttributeEditor extends AbstractAttributeEditor {
setControl(seeAlsoTable);
}
- private final String[] seeAlsoColumns = {
- "", Messages.BugzillaSeeAlsoAttributeEditor_Remove, Messages.BugzillaSeeAlsoAttributeEditor_URL }; //$NON-NLS-1$
+ private final String[] seeAlsoColumns = { "", Messages.BugzillaSeeAlsoAttributeEditor_Remove, //$NON-NLS-1$
+ Messages.BugzillaSeeAlsoAttributeEditor_URL };
private final int[] seeAlsoColumnWidths = { 25, 60, 100 };
@@ -123,7 +123,7 @@ public class BugzillaSeeAlsoAttributeEditor extends AbstractAttributeEditor {
public Image getColumnImage(Object element, int columnIndex) {
String value = (String) element;
if (columnIndex == 0) {
- if (value.contains("/r/#/c/")) { //$NON-NLS-1$
+ if (value.contains("/r/#/c/") || value.contains("git.eclipse.org/r/")) { //$NON-NLS-1$ //$NON-NLS-2$
return CommonImages.getImage(BugzillaImages.GERRIT);
} else if (value.contains("/commit/?id=")) { //$NON-NLS-1$
return CommonImages.getImage(BugzillaImages.GIT);

Back to the top