Skip to content

Commit

Permalink
Replace quickfix GIFs by PNGs
Browse files Browse the repository at this point in the history
Also add a more specific one for the NeedBraces quickfix.
  • Loading branch information
Bananeweizen authored and Calixte committed Jan 25, 2024
1 parent 3b8e6df commit 41bb143
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 4 deletions.
Binary file removed net.sf.eclipsecs.ui/icons/add_correction.gif
Binary file not shown.
Binary file added net.sf.eclipsecs.ui/icons/add_correction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added net.sf.eclipsecs.ui/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added net.sf.eclipsecs.ui/icons/correction_cast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added net.sf.eclipsecs.ui/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed net.sf.eclipsecs.ui/icons/correction_change.gif
Binary file not shown.
Binary file added net.sf.eclipsecs.ui/icons/correction_change.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added net.sf.eclipsecs.ui/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed net.sf.eclipsecs.ui/icons/remove_correction.gif
Binary file not shown.
Binary file added net.sf.eclipsecs.ui/icons/remove_correction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added net.sf.eclipsecs.ui/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ public enum CheckstyleUIPluginImages {
.getImageDescriptor(ISharedImages.IMG_LCL_LINKTO_HELP)),
/** Image descriptor for the add correction icon. */
CORRECTION_ADD(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID,
"icons/add_correction.gif")),
"icons/add_correction.png")),
CORRECTION_ADD_BRACES(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID,
"icons/correction_cast.png")),
/** Image descriptor for the change correction icon. */
CORRECTION_CHANGE(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID,
"icons/correction_change.gif")),
"icons/correction_change.png")),
/** Image descriptor for the remove correction icon. */
CORRECTION_REMOVE(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID,
"icons/remove_correction.gif")),
"icons/remove_correction.png")),
/** Image descriptor for the tick icon. */
TICK_ICON(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID,
"icons/tick.gif")),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,6 @@ public String getLabel() {

@Override
public Image getImage() {
return CheckstyleUIPluginImages.CORRECTION_ADD.getImage();
return CheckstyleUIPluginImages.CORRECTION_ADD_BRACES.getImage();
}
}

0 comments on commit 41bb143

Please sign in to comment.