diff options
author | Omair Majid <[email protected]> | 2010-11-10 16:07:06 -0500 |
---|---|---|
committer | Omair Majid <[email protected]> | 2010-11-10 16:07:06 -0500 |
commit | 6a451aa7ebf76df590247b90065a4cac6bb7cf3e (patch) | |
tree | 5344944bc2d197ce4d116fe5a263b45c9cb421ba /netx/net/sourceforge/jnlp/services/XBasicService.java | |
parent | ada535b6a8453dca218b72743894c04b70c605be (diff) |
integrate desktop shortcut creation with configuration
2010-11-05 Omair Majid <[email protected]>
* 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.
Diffstat (limited to 'netx/net/sourceforge/jnlp/services/XBasicService.java')
0 files changed, 0 insertions, 0 deletions