aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2012-12-24 13:58:31 +0100
committerJiri Vanek <[email protected]>2012-12-24 13:58:31 +0100
commit3b55866f3df276463317e972a63a816d75060673 (patch)
tree24e41b411c87a003f6d1b75a45c6a23b576299a8
parent2333cb9abb5c4b6d458db364d779d08d1645ec62 (diff)
Fixed xtrust all behaviour for desktop icons. Now returning true only if desktop icon should be created. False otherwise.
-rw-r--r--netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java b/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
index 84d62f3..8de23bf 100644
--- a/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
+++ b/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
@@ -172,7 +172,7 @@ public class ApplicationInstance {
*/
private boolean shouldCreateShortcut(ShortcutDesc sd) {
if (JNLPRuntime.isTrustAll()) {
- return true;
+ return (sd != null && sd.onDesktop());
}
String currentSetting = JNLPRuntime.getConfiguration()
.getProperty(DeploymentConfiguration.KEY_CREATE_DESKTOP_SHORTCUT);