mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Prefer GNOME browser over mozilla.
This commit is contained in:
parent
a6ba60232a
commit
4a5a91838b
1 changed files with 7 additions and 7 deletions
|
|
@ -344,13 +344,6 @@ class Grail(BaseBrowser):
|
|||
# a console terminal or an X display to run.
|
||||
|
||||
def register_X_browsers():
|
||||
# First, the Mozilla/Netscape browsers
|
||||
for browser in ("mozilla-firefox", "firefox",
|
||||
"mozilla-firebird", "firebird",
|
||||
"mozilla", "netscape"):
|
||||
if _iscommand(browser):
|
||||
register(browser, None, Mozilla(browser))
|
||||
|
||||
# The default Gnome browser
|
||||
if _iscommand("gconftool-2"):
|
||||
# get the web browser string from gconftool
|
||||
|
|
@ -364,6 +357,13 @@ def register_X_browsers():
|
|||
register("gnome", None, GenericBrowser(
|
||||
commd + " '%s' >/dev/null &"))
|
||||
|
||||
# First, the Mozilla/Netscape browsers
|
||||
for browser in ("mozilla-firefox", "firefox",
|
||||
"mozilla-firebird", "firebird",
|
||||
"mozilla", "netscape"):
|
||||
if _iscommand(browser):
|
||||
register(browser, None, Mozilla(browser))
|
||||
|
||||
# Konqueror/kfm, the KDE browser.
|
||||
if _iscommand("kfm"):
|
||||
register("kfm", Konqueror, Konqueror("kfm"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue