Patch for review: Enabling Netx Desktop Element
Man Wong
mwong at redhat.com
Tue Dec 1 14:15:34 PST 2009
This patch fixes the 2 problems (shortcut not using system preferred javaws and jnlp file in cache) from the previous fixme. The fix allows netx desktop element to be enabled. Furthermore, shortcut tag is now no longer required as in the jnlp developers guide. Lastly, it now checks for updates and updates the file in the cache accordingly.
Changelog:
2009-12-01 Man Lung Wong <mwong at redhat.com>
* rt/net/sourceforge/jnlp/JNLPFile.java
(JNLPFILE): Download the jnlp file from the webspace it originated, if
it exists.
* rt/net/sourceforge/jnlp/runtime/ApplicationInstance.java
(initialize): Enable desktop element and revise the list of fixme.
(addMenuAndDesktopEntries): No longer errors out when shortcut tag not
specified.
* rt/net/sourceforge/jnlp/runtime/Boot.java
(getFile): Launches the original jnlp file (i.e. if the file was
downloaded from http://icedtea.classpath.org, then it will launch the
one from http://icedtea.classpath.org).
* rt/net/sourceforge/jnlp/util/XDesktopEntry.java
(getContentsAsReader): Shortcut uses jnlp file in cache and launches
with system preferred javaws.
Any comments?
Thanks,
Man Lung Wong
-------------- next part --------------
A non-text attachment was scrubbed...
Name: desktopElement.patch
Type: text/x-patch
Size: 4844 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20091201/9738602b/desktopElement.patch
More information about the distro-pkg-dev
mailing list