Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Ufimtsev2017-05-31 15:45:54 +0000
committerLeo Ufimtsev2017-06-12 14:59:07 +0000
commita8056906b41eb2845e36ea4b962b1544448ce563 (patch)
treecc12db7ed3ed0e76bbdab082c265590e07b7964c
parent422281be3ec6a0118233a2faecb668855b9b5611 (diff)
downloadeclipse.platform.swt-a8056906b41eb2845e36ea4b962b1544448ce563.tar.gz
eclipse.platform.swt-a8056906b41eb2845e36ea4b962b1544448ce563.tar.xz
eclipse.platform.swt-a8056906b41eb2845e36ea4b962b1544448ce563.zip
Bug 517508 – SWT.ICON_SEARCH is ugly under Linux
(BACKPORT 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). See screenshot. Awaiting oxygen release. Change-Id: I5fef38d647d31b2144e9ca46c462f0067c4abe02 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