Bug 546564 - "Command link" icon in help not high res
Change-Id: I47c7b32c029dec151d58ed4d662d302988d657e0
Signed-off-by: Matthias Becker <ma.becker@sap.com>
diff --git a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java
index 9c63cb3..71495f9 100644
--- a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java
+++ b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java
@@ -308,7 +308,6 @@
pageBuffer.append(tab(3)+ "</p>\n"); //$NON-NLS-1$
} else {
pageBuffer.append(tab(3)+"<br/><p>\n"); //$NON-NLS-1$
- //pageBuffer.append("<img src=\"PLUGINS_ROOT/org.eclipse.help/command_link.png\"/>"); //$NON-NLS-1$
pageBuffer.append("<a class=\"command-link\"" //$NON-NLS-1$
+ " href='javascript:executeCommand(\"org.eclipse.help.ui.ignoreMissingPlaceholders\")'>" //$NON-NLS-1$
+ WebappResources.getString("ignoreMissingBooks", locale)+"</a>"); //$NON-NLS-1$ //$NON-NLS-2$
@@ -379,7 +378,7 @@
*/
private String getActiveLink(Locale locale)
{
- return "<img src=\"PLUGINS_ROOT/org.eclipse.help/command_link.png\"/>" //$NON-NLS-1$
+ return "<img src=\"PLUGINS_ROOT/org.eclipse.help/command_link.svg\"/>" //$NON-NLS-1$
+ "<a class=\"command-link\"" //$NON-NLS-1$
+ " href='javascript:executeCommand(\"org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.help.ui.contentPreferencePage)\")'>" //$NON-NLS-1$
+ WebappResources.getString("remotePreferencesMenuSelect", locale)+"</a>"; //$NON-NLS-1$ //$NON-NLS-2$
diff --git a/org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm b/org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm
index 97a6168..0584b33 100644
--- a/org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm
+++ b/org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm
@@ -49,7 +49,7 @@
</P>
<pre><a class="command-link" href='javascript:executeCommand("org.eclipse.ui.help.aboutAction")'>
-<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
+<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg">
Open the About dialog</a></pre>
<P>