Mercurial > hg > release > icedtea6-1.6
changeset 1649:f5ed1489ddcf
Netx: disable destkop shortcuts
2009-08-04 Omair Majid <omajid@redhat.com>
* rt/net/sourceforge/jnlp/runtime/ApplicationInstance.java
(initialize): Disable creation of desktop shortcuts.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Tue, 04 Aug 2009 11:34:49 -0400 |
parents | 18f23e1e3c37 |
children | e315bc774531 |
files | ChangeLog rt/net/sourceforge/jnlp/runtime/ApplicationInstance.java |
diffstat | 2 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Aug 03 13:18:16 2009 +0100 +++ b/ChangeLog Tue Aug 04 11:34:49 2009 -0400 @@ -1,3 +1,8 @@ +2009-08-04 Omair Majid <omajid@redhat.com> + + * rt/net/sourceforge/jnlp/runtime/ApplicationInstance.java + (initialize): Disable creation of desktop shortcuts. + 2009-08-03 Andrew John Hughes <ahughes@redhat.com> * hotspot.map:
--- a/rt/net/sourceforge/jnlp/runtime/ApplicationInstance.java Mon Aug 03 13:18:16 2009 +0100 +++ b/rt/net/sourceforge/jnlp/runtime/ApplicationInstance.java Tue Aug 04 11:34:49 2009 -0400 @@ -109,7 +109,24 @@ */ public void initialize() { installEnvironment(); - addMenuAndDesktopEntries(); + + /* + * FIXME: Disable creating desktop entries for now + * + * there are some major issues we need to work out before we can enable them + * 1. Playing nice with the altnatives system + * - use the system preferred jdk (/usr/bin/javaws) + * - dont assume what jdk javaws corresponds to + * - make sure our shortcuts work with the sun jdk and vice versa + * (may not be possible since sun's javaws creates a launcher that + * links to /usr/java/${ver}/bin/javaws) + * - we should use the same options and arguments as sun's javaws + * 2. Make shortcuts work offline + * - make the cache updates and replacements work properly + * - shortcuts should use the cache + * + * addMenuAndDesktopEntries(); + */ } /**