[rfc] [icedtea-web] desktop icon is pointing to cache instead to real url
Jiri Vanek
jvanek at redhat.com
Wed Jan 2 07:20:35 PST 2013
Hi!
During digging in desktop subsystem of ITW i found that desktop icon is pointing to cache instead to
url. HAve anybody idea why??? Eg it will not survive -Xclearcache,..
This simple patch should fix it to point to real url instead of cached version:
diff -r a16da8b96a0f netx/net/sourceforge/jnlp/util/XDesktopEntry.java
--- a/netx/net/sourceforge/jnlp/util/XDesktopEntry.java Mon Dec 24 13:58:31 2012 +0100
+++ b/netx/net/sourceforge/jnlp/util/XDesktopEntry.java Wed Jan 02 16:17:53 2013 +0100
@@ -93,7 +93,7 @@
}
//Shortcut executes the jnlp from cache and system preferred java..
- fileContents += "Exec=" + "javaws" + " \"" + cacheFile.getAbsolutePath() + "\"\n";
+ fileContents += "Exec=" + "javaws" + " \"" + file.getSourceLocation() + "\"\n";
return new StringReader(fileContents);
More information about the distro-pkg-dev
mailing list