/hg/icedtea-web: Fixed xtrust all behaviour for desktop icons. N...
jvanek at icedtea.classpath.org
jvanek at icedtea.classpath.org
Mon Dec 24 04:56:41 PST 2012
changeset a16da8b96a0f in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=a16da8b96a0f
author: Jiri Vanek <jvanek at redhat.com>
date: Mon Dec 24 13:58:31 2012 +0100
Fixed xtrust all behaviour for desktop icons. Now returning true only if desktop icon should be created. False otherwise.
diffstat:
netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 9793efa80617 -r a16da8b96a0f netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
--- a/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java Mon Dec 24 13:35:54 2012 +0100
+++ b/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java Mon Dec 24 13:58:31 2012 +0100
@@ -172,7 +172,7 @@
*/
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);
More information about the distro-pkg-dev
mailing list