# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1312495618 0 # Node ID 36773e04245c5f9c5aa5080ece0357cef0033f7e # Parent 03cd2f3e929dd8af33c10dc498e214141dc76d1e 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. diff -r 03cd2f3e929d -r 36773e04245c gtk/dw.c --- a/gtk/dw.c Thu Aug 04 21:34:53 2011 +0000 +++ b/gtk/dw.c Thu Aug 04 22:06:58 2011 +0000 @@ -11164,7 +11164,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; diff -r 03cd2f3e929d -r 36773e04245c gtk3/dw.c --- 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;