changeset 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 03cd2f3e929d
children 9ca5de2e59f8
files gtk/dw.c gtk3/dw.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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;