diff options
| author | Leo Ufimtsev | 2017-05-31 15:45:54 +0000 |
|---|---|---|
| committer | Leo Ufimtsev | 2017-06-09 18:46:58 +0000 |
| commit | 060443c93dd7d07200925e17ed604990033643ab (patch) | |
| tree | e1385ad2ff330d75c945d10d112252355c9479a8 | |
| parent | 9de58d4397ed9d1c357595ef8471a5cdde712a70 (diff) | |
| download | eclipse.platform.swt-060443c93dd7d07200925e17ed604990033643ab.tar.gz eclipse.platform.swt-060443c93dd7d07200925e17ed604990033643ab.tar.xz eclipse.platform.swt-060443c93dd7d07200925e17ed604990033643ab.zip | |
Bug 517508 – SWT.ICON_SEARCH is ugly under Linux
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: 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.java | 6 |
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"); |
