aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2010-11-10 16:20:51 -0500
committerOmair Majid <[email protected]>2010-11-10 16:20:51 -0500
commit1f3bdce4f5d05c89f7f7a8ee53f0bbbc0098c963 (patch)
tree2ae4d8598c05bbcf0b4845aee80a2ffd2d7d479d /netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java
parent6a451aa7ebf76df590247b90065a4cac6bb7cf3e (diff)
use browser path from configuration
2010-11-05 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java: Add KEY_BROWSER_PATH. (loadDefaultProperties): Use KEY_BROWSER_PATH. * netx/net/sourceforge/jnlp/services/XBasicService.java (initialize): Use the browser command from the configuration. Save updates to configuration as well.
Diffstat (limited to 'netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java b/netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java
index ac171ef..b91ae8f 100644
--- a/netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java
+++ b/netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java
@@ -156,6 +156,8 @@ public final class DeploymentConfiguration {
public static final String KEY_CREATE_DESKTOP_SHORTCUT = "deployment.javaws.shortcut";
+ public static final String KEY_BROWSER_PATH = "deployment.browser.path";
+
public enum ConfigType {
System, User
}
@@ -383,7 +385,7 @@ public final class DeploymentConfiguration {
/* jre management */
{ "deployment.javaws.autodownload", null },
/* browser selection */
- { "deployment.browser.path", null },
+ { KEY_BROWSER_PATH, null },
/* check for update timeout */
{ "deployment.javaws.update.timeout", String.valueOf(500) }
};