mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
[Patch #981794] Add support for Firefox/Firebird
This commit is contained in:
parent
864bba1981
commit
9a2a1cb031
1 changed files with 6 additions and 5 deletions
|
|
@ -277,14 +277,15 @@ def open_new(self, url):
|
|||
|
||||
# X browsers have more in the way of options
|
||||
if os.environ.get("DISPLAY"):
|
||||
_tryorder = ["galeon", "skipstone", "mozilla", "netscape",
|
||||
_tryorder = ["galeon", "skipstone",
|
||||
"mozilla-firefox", "mozilla-firebird", "mozilla", "netscape",
|
||||
"kfm", "grail"] + _tryorder
|
||||
|
||||
# First, the Netscape series
|
||||
if _iscommand("mozilla"):
|
||||
register("mozilla", None, Netscape("mozilla"))
|
||||
if _iscommand("netscape"):
|
||||
register("netscape", None, Netscape("netscape"))
|
||||
for browser in ("mozilla-firefox", "mozilla-firebird",
|
||||
"mozilla", "netscape"):
|
||||
if _iscommand(browser):
|
||||
register(browser, None, Netscape(browser))
|
||||
|
||||
# Next, Mosaic -- old but still in use.
|
||||
if _iscommand("mosaic"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue