diff options
| author | Thomas Wolf | 2017-06-05 16:44:18 +0000 |
|---|---|---|
| committer | Thomas Wolf | 2017-06-14 12:20:49 +0000 |
| commit | 63921de27e9730db95498f021dc6f9bb76037b32 (patch) | |
| tree | 49c3647c0b191549bd172a0902f59df3e8b81446 | |
| parent | b03e25fcc8c0ce0bbdccb358a5a579ff407d1d4a (diff) | |
| download | egit-github-63921de27e9730db95498f021dc6f9bb76037b32.tar.gz egit-github-63921de27e9730db95498f021dc6f9bb76037b32.tar.xz egit-github-63921de27e9730db95498f021dc6f9bb76037b32.zip | |
Do not try to use EGit icons directly
These icon filenames are not public API; this will break when EGit
decides to move to PNG. See bug 517169.
Copy the PNGs from EGit instead (including the HiDPI versions), and
reference them locally. SVG sources are _not_ included; those live
in the EGit UI project.
Adapt plugin.xml and GitHubImages accordingly.
Bug: 472534
Change-Id: I6366b44e51c884f17aa8a9ef6aee7e6e4d014abe
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
20 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/add.png b/org.eclipse.mylyn.github.ui/icons/obj16/add.png Binary files differindex 6332fefe..c6aeae4d 100644 --- a/org.eclipse.mylyn.github.ui/icons/obj16/add.png +++ b/org.eclipse.mylyn.github.ui/icons/obj16/add.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/add@2x.png b/org.eclipse.mylyn.github.ui/icons/obj16/add@2x.png Binary files differnew file mode 100644 index 00000000..a5fbbb07 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/add@2x.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/check_all.png b/org.eclipse.mylyn.github.ui/icons/obj16/check_all.png Binary files differnew file mode 100644 index 00000000..060552de --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/check_all.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/check_all@2x.png b/org.eclipse.mylyn.github.ui/icons/obj16/check_all@2x.png Binary files differnew file mode 100644 index 00000000..020308f0 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/check_all@2x.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/checkall.gif b/org.eclipse.mylyn.github.ui/icons/obj16/checkall.gif Binary files differdeleted file mode 100644 index d805d0da..00000000 --- a/org.eclipse.mylyn.github.ui/icons/obj16/checkall.gif +++ /dev/null diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/checkout.png b/org.eclipse.mylyn.github.ui/icons/obj16/checkout.png Binary files differnew file mode 100644 index 00000000..af45a917 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/checkout.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/checkout@2x.png b/org.eclipse.mylyn.github.ui/icons/obj16/checkout@2x.png Binary files differnew file mode 100644 index 00000000..30919b6c --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/checkout@2x.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/cloneGit.png b/org.eclipse.mylyn.github.ui/icons/obj16/cloneGit.png Binary files differnew file mode 100644 index 00000000..930ca228 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/cloneGit.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/cloneGit@2x.png b/org.eclipse.mylyn.github.ui/icons/obj16/cloneGit@2x.png Binary files differnew file mode 100644 index 00000000..020eed15 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/cloneGit@2x.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/fetch.png b/org.eclipse.mylyn.github.ui/icons/obj16/fetch.png Binary files differnew file mode 100644 index 00000000..8227385e --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/fetch.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/fetch@2x.png b/org.eclipse.mylyn.github.ui/icons/obj16/fetch@2x.png Binary files differnew file mode 100644 index 00000000..8d2a1f6d --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/fetch@2x.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/merge.png b/org.eclipse.mylyn.github.ui/icons/obj16/merge.png Binary files differnew file mode 100644 index 00000000..d87e6ed0 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/merge.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/merge@2x.png b/org.eclipse.mylyn.github.ui/icons/obj16/merge@2x.png Binary files differnew file mode 100644 index 00000000..6a77d578 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/merge@2x.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/rebase.png b/org.eclipse.mylyn.github.ui/icons/obj16/rebase.png Binary files differnew file mode 100644 index 00000000..fe77252c --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/rebase.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/rebase@2x.png b/org.eclipse.mylyn.github.ui/icons/obj16/rebase@2x.png Binary files differnew file mode 100644 index 00000000..d79aec14 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/rebase@2x.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/uncheck_all.png b/org.eclipse.mylyn.github.ui/icons/obj16/uncheck_all.png Binary files differnew file mode 100644 index 00000000..f4449d6c --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/uncheck_all.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/uncheck_all@2x.png b/org.eclipse.mylyn.github.ui/icons/obj16/uncheck_all@2x.png Binary files differnew file mode 100644 index 00000000..01608426 --- /dev/null +++ b/org.eclipse.mylyn.github.ui/icons/obj16/uncheck_all@2x.png diff --git a/org.eclipse.mylyn.github.ui/icons/obj16/uncheckall.gif b/org.eclipse.mylyn.github.ui/icons/obj16/uncheckall.gif Binary files differdeleted file mode 100644 index 986785c5..00000000 --- a/org.eclipse.mylyn.github.ui/icons/obj16/uncheckall.gif +++ /dev/null diff --git a/org.eclipse.mylyn.github.ui/plugin.xml b/org.eclipse.mylyn.github.ui/plugin.xml index 724ec315..32cc27b9 100644 --- a/org.eclipse.mylyn.github.ui/plugin.xml +++ b/org.eclipse.mylyn.github.ui/plugin.xml @@ -276,23 +276,23 @@ point="org.eclipse.ui.commandImages"> <image commandId="org.eclipse.mylyn.github.ui.command.cloneGist" - icon="platform:/plugin/org.eclipse.egit.ui/icons/obj16/cloneGit.gif"> + icon="icons/obj16/cloneGit.png"> </image> <image commandId="org.eclipse.mylyn.github.ui.command.checkoutPullRequest" - icon="platform:/plugin/org.eclipse.egit.ui/icons/obj16/checkout.gif"> + icon="icons/obj16/checkout.png"> </image> <image commandId="org.eclipse.mylyn.github.ui.command.fetchPullRequest" - icon="platform:/plugin/org.eclipse.egit.ui/icons/obj16/fetch.gif"> + icon="icons/obj16/fetch.png"> </image> <image commandId="org.eclipse.mylyn.github.ui.command.mergePullRequest" - icon="platform:/plugin/org.eclipse.egit.ui/icons/obj16/merge.gif"> + icon="icons/obj16/merge.png"> </image> <image commandId="org.eclipse.mylyn.github.ui.command.rebasePullRequest" - icon="platform:/plugin/org.eclipse.egit.ui/icons/obj16/rebase.gif"> + icon="icons/obj16/rebase.png"> </image> </extension> <extension diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/GitHubImages.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/GitHubImages.java index 906cc5d4..933611a9 100644 --- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/GitHubImages.java +++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/GitHubImages.java @@ -40,8 +40,8 @@ public class GitHubImages { public static final ImageDescriptor DESC_GITHUB_LOGO = create(PATH_OBJ, "github.png"); //$NON-NLS-1$ public static final ImageDescriptor DESC_GITHUB_ISSUE_LABEL = create(PATH_OBJ, "issue_label.png"); //$NON-NLS-1$ public static final ImageDescriptor DESC_GITHUB_ADD = create(PATH_OBJ, "add.png"); //$NON-NLS-1$ - public static final ImageDescriptor DESC_GITHUB_CHECKALL = create(PATH_OBJ, "checkall.gif"); //$NON-NLS-1$ - public static final ImageDescriptor DESC_GITHUB_UNCHECKALL = create(PATH_OBJ, "uncheckall.gif"); //$NON-NLS-1$ + public static final ImageDescriptor DESC_GITHUB_CHECKALL = create(PATH_OBJ, "check_all.png"); //$NON-NLS-1$ + public static final ImageDescriptor DESC_GITHUB_UNCHECKALL = create(PATH_OBJ, "uncheck_all.png"); //$NON-NLS-1$ public static final ImageDescriptor DESC_GITHUB_ORG = create(PATH_OBJ, "org.png"); //$NON-NLS-1$ public static final ImageDescriptor DESC_PERSON = create(PATH_TOOL, "person.gif"); //$NON-NLS-1$ |
