[icedtea-web] RFC: Integrate desktop shortcut creation with configuration
Omair Majid
omajid at redhat.com
Fri Nov 5 07:30:54 PDT 2010
Hi,
The attached patch allows using the new configuration to select whether
the user should be prompted for desktop shortcut/launcher creation.
ChangeLog:
2010-11-05 Omair Majid <omajid at redhat.com>
* netx/net/sourceforge/jnlp/ShortcutDesc.java: Change prefixes from
SHORTCUT_ to CREATE_.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
(addMenuAndDesktopEntries): Call shouldCreateShortcut to find out
if shortcut should be created. Remove call to checkAccess which
does nothing as the entire stack contains trusted classes.
(shouldCreateShortcut): New method. Use the configuration to find
out if a shorcut should be created, and possibly prompt the user.
* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
Add KEY_CREATE_DESKTOP_SHORTCUT.
(loadDefaultProperties): Use KEY_CREATE_DESKTOP_SHORTCUT.
Any thoughts or comments?
Thanks,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-web-integrate-configuration-desktop-shortcut-02.patch
Type: text/x-patch
Size: 5510 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101105/98797652/icedtea-web-integrate-configuration-desktop-shortcut-02.patch
More information about the distro-pkg-dev
mailing list