Mercurial > dwindows
diff gtk3/dw.c @ 1116:36773e04245c
Switch from "netscape" to "firefox" for the default web browser to execute.
Netscape was pretty standard when I originally wrote this, firefox is now the same.
Need to figure out a way to query the default, without having to bring in Gnome libraries.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 04 Aug 2011 22:06:58 +0000 |
parents | eb6b27d17fe7 |
children | 63dd52ba9a8f |
line wrap: on
line diff
--- a/gtk3/dw.c Thu Aug 04 21:34:53 2011 +0000 +++ b/gtk3/dw.c Thu Aug 04 22:06:58 2011 +0000 @@ -9728,7 +9728,7 @@ int dw_browse(char *url) { /* Is there a way to find the webbrowser in Unix? */ - char *execargs[3], *browser = "netscape", *tmp; + char *execargs[3], *browser = "firefox", *tmp; tmp = getenv( "DW_BROWSER" ); if(tmp) browser = tmp;