[Patch #981794] Add support for Firefox/Firebird
This commit is contained in:
parent
864bba1981
commit
9a2a1cb031
|
@ -277,14 +277,15 @@ if os.environ.get("TERM") or os.environ.get("DISPLAY"):
|
||||||
|
|
||||||
# X browsers have more in the way of options
|
# X browsers have more in the way of options
|
||||||
if os.environ.get("DISPLAY"):
|
if os.environ.get("DISPLAY"):
|
||||||
_tryorder = ["galeon", "skipstone", "mozilla", "netscape",
|
_tryorder = ["galeon", "skipstone",
|
||||||
|
"mozilla-firefox", "mozilla-firebird", "mozilla", "netscape",
|
||||||
"kfm", "grail"] + _tryorder
|
"kfm", "grail"] + _tryorder
|
||||||
|
|
||||||
# First, the Netscape series
|
# First, the Netscape series
|
||||||
if _iscommand("mozilla"):
|
for browser in ("mozilla-firefox", "mozilla-firebird",
|
||||||
register("mozilla", None, Netscape("mozilla"))
|
"mozilla", "netscape"):
|
||||||
if _iscommand("netscape"):
|
if _iscommand(browser):
|
||||||
register("netscape", None, Netscape("netscape"))
|
register(browser, None, Netscape(browser))
|
||||||
|
|
||||||
# Next, Mosaic -- old but still in use.
|
# Next, Mosaic -- old but still in use.
|
||||||
if _iscommand("mosaic"):
|
if _iscommand("mosaic"):
|
||||||
|
|
Loading…
Reference in New Issue