diff options
author | Omair Majid <[email protected]> | 2011-03-24 08:54:12 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2011-03-24 08:54:12 -0400 |
commit | c92f8485eeea6af5b408c1b534e9ddd26f1e5547 (patch) | |
tree | 11f08f862608cd210681a54ca15a7652a05373e9 /ChangeLog | |
parent | 3e70eb2b78afa1529bee6d3e03a60264ac5830c1 (diff) |
Alternate means of finding browsers
This patch makes netx look for the users' default browser in this order:
xdg-open, $BROWSER, and finally prompting the user for the command. To remain
backwards compatible, this is only done if the user has not previously
specified a default browser.
2011-03-24 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
RBrowserLocationPromptTitle, RBrowserLocationPromptMessage and
RBrowserLocationPromptMessageWithReason.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
(isWindows): New method. Moved from XBasicService.
(isUnix): New method.
* netx/net/sourceforge/jnlp/services/XBasicService
(initialize): Call initializeBrowserCommand.
(initializeBrowserCommand): New method.
(posixCommandExists): New method.
(isWindows): Moved to JNLPRuntime.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2011-03-24 Omair Majid <[email protected]> + + * netx/net/sourceforge/jnlp/resources/Messages.properties: Add + RBrowserLocationPromptTitle, RBrowserLocationPromptMessage and + RBrowserLocationPromptMessageWithReason. + * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java + (isWindows): New method. Moved from XBasicService. + (isUnix): New method. + * netx/net/sourceforge/jnlp/services/XBasicService + (initialize): Call initializeBrowserCommand. + (initializeBrowserCommand): New method. + (posixCommandExists): New method. + (isWindows): Moved to JNLPRuntime. + 2011-03-23 Denis Lila <[email protected]> * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java |