Skip to content

Commit 6dc53fa

Browse files
committed
Remove reference to non-existent disabled icons in org.eclipse.help.ui
The paths to disabled icons have recently been replaced with paths to SVGs even though they do not exist. This change completely removes the usage of explicitly disabled icons and replaces it with on-the-fly generated disabled icons.
1 parent 6912e6f commit 6dc53fa

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/IHelpUIConstants.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ public interface IHelpUIConstants {
5050
public static final String IMAGE_HIGHLIGHT = "elcl16/highlight.svg"; //$NON-NLS-1$
5151
public static final String IMAGE_MAGNIFY = "elcl16/magnify_font.svg"; //$NON-NLS-1$
5252
public static final String IMAGE_REDUCE = "elcl16/reduce_font.svg"; //$NON-NLS-1$
53-
public static final String IMAGE_D_MAGNIFY = "dlcl16/magnify_font.svg"; //$NON-NLS-1$
54-
public static final String IMAGE_D_REDUCE = "dlcl16/reduce_font.svg"; //$NON-NLS-1$
5553
public static final String IMAGE_COLLAPSE_ALL = "elcl16/collapseall.svg"; //$NON-NLS-1$
5654
public static final String IMAGE_CLOSE = "elcl16/close.svg"; //$NON-NLS-1$
5755
public static final String IMAGE_CLOSE_HOT = "elcl16/close_hot.svg"; //$NON-NLS-1$

ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/BrowserPart.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,6 @@ public void run() {
305305
magnifyAction.setText(Messages.BrowserPart_magnifyTooltip);
306306
magnifyAction.setImageDescriptor(HelpUIResources
307307
.getImageDescriptor(IHelpUIConstants.IMAGE_MAGNIFY));
308-
magnifyAction.setDisabledImageDescriptor(HelpUIResources
309-
.getImageDescriptor(IHelpUIConstants.IMAGE_D_MAGNIFY));
310308

311309
reduceAction = new Action() {
312310

@@ -319,8 +317,6 @@ public void run() {
319317
reduceAction.setText(Messages.BrowserPart_reduceTooltip);
320318
reduceAction
321319
.setImageDescriptor(HelpUIResources.getImageDescriptor(IHelpUIConstants.IMAGE_REDUCE));
322-
reduceAction.setDisabledImageDescriptor(HelpUIResources
323-
.getImageDescriptor(IHelpUIConstants.IMAGE_D_REDUCE));
324320
menuManager.add(new Separator());
325321
menuManager.add(reduceAction);
326322
menuManager.add(magnifyAction);

0 commit comments

Comments
 (0)