diff options
author | Omair Majid <omajid@redhat.com> | 2011-03-24 08:54:12 -0400 |
---|---|---|
committer | Omair Majid <omajid@redhat.com> | 2011-03-24 08:54:12 -0400 |
commit | c92f8485eeea6af5b408c1b534e9ddd26f1e5547 (patch) | |
tree | 11f08f862608cd210681a54ca15a7652a05373e9 /netx/net/sourceforge/jnlp/PluginBridge.java | |
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 <omajid@redhat.com>
* 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 'netx/net/sourceforge/jnlp/PluginBridge.java')
0 files changed, 0 insertions, 0 deletions