[GRASS-SVN] r64609 - grass/branches/releasebranch_7_0/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 13 07:27:09 PST 2015
Author: martinl
Date: 2015-02-13 07:27:09 -0800 (Fri, 13 Feb 2015)
New Revision: 64609
Modified:
grass/branches/releasebranch_7_0/lib/init/grass.py
Log:
Prefer xdg-open and x-www-browser for HTML browser.
GRASS 6 used a shell script to set the GRASS_HTML_BROWSER environment variable.
GRASS 7 reimplemented the shell script in Python.
.
The original version of this patch was made by Francesco Paolo Lovergine, and
ported to Python by Bas Couwenberg.
Author: Francesco Paolo Lovergine <frankie at debian.org>
Author: Bas Couwenberg <sebastic at xs4all.nl>
(taken from http://anonscm.debian.org/cgit/pkg-grass/grass.git/)
(merge r64608 from trunk)
Modified: grass/branches/releasebranch_7_0/lib/init/grass.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/init/grass.py 2015-02-13 15:24:57 UTC (rev 64608)
+++ grass/branches/releasebranch_7_0/lib/init/grass.py 2015-02-13 15:27:09 UTC (rev 64609)
@@ -476,7 +476,7 @@
browser = "explorer"
else:
# the usual suspects
- browsers = ["xdg-open", "htmlview", "konqueror", "mozilla",
+ browsers = ["xdg-open", "x-www-browser", "htmlview", "konqueror", "mozilla",
"mozilla-firefox", "firefox", "iceweasel", "opera",
"netscape", "dillo", "lynx", "links", "w3c"]
for b in browsers:
More information about the grass-commit
mailing list