Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Ufimtsev2017-05-31 15:45:54 +0000
committerLeo Ufimtsev2017-07-17 16:45:37 +0000
commit93fd1b94b4114f839a01942bd3807b123f978560 (patch)
treea3633de3889404b94e67b07c40c4110809f2c11f
parentaab01ada8510a314e53ea0b9d13f0a24c67df863 (diff)
downloadeclipse.platform.swt-93fd1b94b4114f839a01942bd3807b123f978560.tar.gz
eclipse.platform.swt-93fd1b94b4114f839a01942bd3807b123f978560.tar.xz
eclipse.platform.swt-93fd1b94b4114f839a01942bd3807b123f978560.zip
Bug 517508 – SWT.ICON_SEARCH is ugly under Linux (Backport)
(Backport of original fix to R4_7) Replacing regular search icons with symbolic icons to make them look more consistent with the rest of gtk3. Note other icons (defined a few lines below) are also symbolic). Change-Id: I13301cf4d5f15e30d1d3d36ff3c333e827062854 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index 7b3e69eb2e..b22465f18b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -685,9 +685,11 @@ public class OS extends C {
/* Named icons.
* See https://docs.google.com/spreadsheet/pub?key=0AsPAM3pPwxagdGF4THNMMUpjUW5xMXZfdUNzMXhEa2c&output=html
* See http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html#names
+ * Icon preview tool: gtk3-icon-browser
+ * Snippets often demonstrate usage of these. E.x 309, 258.
* */
- public static final byte[] GTK_NAMED_ICON_FIND = ascii("edit-find"); //Replacement of GTK_STOCK_FIND
- public static final byte[] GTK_NAMED_ICON_CLEAR = ascii("edit-clear"); //Replacement of GTK_STOCK_CLEAR
+ public static final byte[] GTK_NAMED_ICON_FIND = ascii("system-search-symbolic"); //Replacement of GTK_STOCK_FIND
+ public static final byte[] GTK_NAMED_ICON_CLEAR = ascii("edit-clear-symbolic"); //Replacement of GTK_STOCK_CLEAR
public static final byte[] GTK_NAMED_ICON_GO_UP = ascii ("go-up-symbolic");

Back to the top