diff options
author | Jiri Vanek <[email protected]> | 2012-12-21 18:06:53 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2012-12-21 18:06:53 +0100 |
commit | 22118569a2d39ce315702a0a0346a420e6b7d1b3 (patch) | |
tree | 1a002c42d74206bb577185693346d0d5eef338b9 /netx/net/sourceforge | |
parent | e488267b497481d2fbd0ef3e7430e32024741fe5 (diff) |
netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java - (shouldCreateShortcut) added handling of xtrustall during asking for desktop icon creation
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r-- | netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java b/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java index fc7c1b7..84d62f3 100644 --- a/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java +++ b/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java @@ -171,6 +171,9 @@ public class ApplicationInstance { * @return true if a desktop shortcut should be created */ private boolean shouldCreateShortcut(ShortcutDesc sd) { + if (JNLPRuntime.isTrustAll()) { + return true; + } String currentSetting = JNLPRuntime.getConfiguration() .getProperty(DeploymentConfiguration.KEY_CREATE_DESKTOP_SHORTCUT); boolean createShortcut = false; |