# 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
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"))