aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/util
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2010-11-19 10:35:27 -0500
committerOmair Majid <[email protected]>2010-11-19 10:35:27 -0500
commitb2311631f029fd5f77e62d36807678a099bd6a4d (patch)
tree82d33bf8e315a2cd53a28b25e0cd1dc4c2b4d971 /netx/net/sourceforge/jnlp/util
parentb949b7d40c7d5bb1146551fae563b1b4ac398812 (diff)
fix Exec, Icon and Encoding in desktop entry files
2010-11-19 Omair Majid <[email protected]> * Makefile.am (EXTRA_DIST): Replace javaws.desktop with javaws.desktop.in. (all-local): Add javaws.desktop. (clean-local): Add dependency on clean-desktop-files. (.PHONY): Add clean-desktop- files. (clean-desktop-files): New target. (javaws.desktop): New target. Use the absolute path to javaws binary in the Exec= line to create the javaws.desktop file. * javaws.desktop: Renamed to... * javaws.desktop.in: New file. Does not contain Encoding key. Value for Icon does not contain extension. * netx/net/sourceforge/jnlp/util/XDesktopEntry.java (JAVA_ICON_NAME): Set to icon name without the extension.
Diffstat (limited to 'netx/net/sourceforge/jnlp/util')
-rw-r--r--netx/net/sourceforge/jnlp/util/XDesktopEntry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/util/XDesktopEntry.java b/netx/net/sourceforge/jnlp/util/XDesktopEntry.java
index 5bed221..b4baef7 100644
--- a/netx/net/sourceforge/jnlp/util/XDesktopEntry.java
+++ b/netx/net/sourceforge/jnlp/util/XDesktopEntry.java
@@ -46,7 +46,7 @@ import net.sourceforge.jnlp.runtime.JNLPRuntime;
*/
public class XDesktopEntry {
- public static final String JAVA_ICON_NAME = "java.png";
+ public static final String JAVA_ICON_NAME = "java";
private JNLPFile file = null;
private int iconSize = -1;