RFC: Netx - Support adding desktop shortcuts for JNLP Application
omajid at redhat.com
Mon Jul 27 09:28:05 PDT 2009
The attached patch allows Netx to add desktop shortcut for webstart
I am not very happy with the package for the DesktopEntry class. It's
not part of the core of JNLP so net.sourceforge.jnlp doesnt seem like
the best place to put it. On the other hand, there doesnt seem to be
anything more suitable. The current functionality is pretty
FreeDesktop.org specific. Would it make more sense to put this class in
a (new) net.sourforge.jnlp.freedesktop subpackage?
Another issue is that it requires xdg-desktop-icon to to install the
desktop file it creates. Is there a way to express this dependency
2009-07-27 Omair Majid <omajid at redhat.com>
* rt/net/sourceforge/jnlp/DesktopEntry.java: New file.
* rt/net/sourceforge/jnlp/IconDesc.java: Add new icon kind SHORTCUT.
* rt/net/sourceforge/jnlp/Launcher.java: Move StreamEater class to..
* rt/net/sourceforge/jnlp/StreamEater.java: New file.
(initialize): Call addMenuAndDesktopEntries.
(addMenuAndDesktopEntries): New function.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11585 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090727/599a2fad/netx-desktop-shortcut.patch
More information about the distro-pkg-dev