From b2311631f029fd5f77e62d36807678a099bd6a4d Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Fri, 19 Nov 2010 10:35:27 -0500 Subject: fix Exec, Icon and Encoding in desktop entry files 2010-11-19 Omair Majid * 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. --- javaws.desktop.in | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 javaws.desktop.in (limited to 'javaws.desktop.in') diff --git a/javaws.desktop.in b/javaws.desktop.in new file mode 100644 index 0000000..da0bc7f --- /dev/null +++ b/javaws.desktop.in @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=IcedTea Web Start +Comment=IcedTea Application Launcher +Exec=PATH_TO_JAVAWS %f +Icon=javaws +Terminal=false +Type=Application +NoDisplay=true +Categories=Network;WebBrowser; +MimeType=application/x-java-jnlp-file; -- cgit v1.2.3