Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Aniszczyk2010-12-07 10:39:13 -0500
committerMatthias Sohn2011-02-07 17:43:01 -0500
commit521ad3aaf06318840bac3992c39df74faed68567 (patch)
tree15bd6bd4b03fa8f594b6220bf4c635d05f8cca20
parent16c06f38e63450194bb59286c0fd5cda64d0bb5c (diff)
downloadegit-521ad3aaf06318840bac3992c39df74faed68567.tar.gz
egit-521ad3aaf06318840bac3992c39df74faed68567.tar.xz
egit-521ad3aaf06318840bac3992c39df74faed68567.zip
Add icon to represent Gerrit
When we generate Change-Id's for Gerrit, it would be nice to have an icon to represent Gerrit instead of text. Change-Id: I1c5ec7945290ecab2427bc53f32f61685832ca05 Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.egit.ui/icons/obj16/gerrit_obj.gifbin0 -> 211 bytes
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIIcons.java5
2 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/icons/obj16/gerrit_obj.gif b/org.eclipse.egit.ui/icons/obj16/gerrit_obj.gif
new file mode 100644
index 000000000..5c65e1fb5
--- /dev/null
+++ b/org.eclipse.egit.ui/icons/obj16/gerrit_obj.gif
Binary files differ
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIIcons.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIIcons.java
index cdff499b7..a5ca2703f 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIIcons.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIIcons.java
@@ -2,6 +2,7 @@
* Copyright (C) 2007, Robin Rosenberg <robin.rosenberg@dewire.com>
* Copyright (C) 2008, Roger C. Soares <rogersoares@intelinet.com.br>
* Copyright (C) 2007, Shawn O. Pearce <spearce@spearce.org>
+ * Copyright (C) 2010, Chris Aniszczyk <caniszczyk@gmail.com>
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -148,6 +149,9 @@ public class UIIcons {
/** Changeset Icon */
public final static ImageDescriptor CHANGESET;
+ /** Gerrit Icon */
+ public final static ImageDescriptor GERRIT;
+
/** base URL */
public final static URL base;
@@ -202,6 +206,7 @@ public class UIIcons {
CLONEGIT = map("obj16/cloneGit.gif"); //$NON-NLS-1$
RESET = map("obj16/reset.gif"); //$NON-NLS-1$
CHANGESET = map("obj16/changelog_obj.gif"); //$NON-NLS-1$
+ GERRIT = map("obj16/gerrit_obj.gif"); //$NON-NLS-1$
}
private static ImageDescriptor map(final String icon) {

Back to the top