Ethereal-dev: [Ethereal-dev] Default webbrowser

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Radek Vokal <rvokal@xxxxxxxxxx>
Date: Tue, 07 Dec 2004 14:37:39 +0100
Hi, I wanted to change the default webbrowser to htmlview instead of
mozilla and I thought this patch will make it but this suprisingly
doesn't work. After applying and reinstalling ethereal, still the
default browser is set to mozilla. Is sth else setting up the bowser and
not only this line? 


--- ethereal-0.10.7/epan/prefs.c.htmlview       2004-10-21
00:34:36.000000000 +0200
+++ ethereal-0.10.7/epan/prefs.c        2004-12-07 13:47:10.087290696
+0100
@@ -1045,7 +1045,7 @@
     prefs.gui_fileopen_preview       = 3;
     prefs.gui_ask_unsaved            = TRUE;
     prefs.gui_find_wrap              = TRUE;
-    prefs.gui_webbrowser             = g_strdup("mozilla %s");
+    prefs.gui_webbrowser             = g_strdup("htmlview %s");
     prefs.gui_layout_type            = layout_type_5;
     prefs.gui_layout_content_1       = layout_pane_content_plist;
     prefs.gui_layout_content_2       = layout_pane_content_pdetails;
@@ -2303,7 +2303,7 @@
                  prefs.gui_find_wrap == TRUE ? "TRUE" : "FALSE");

   fprintf(pf, "\n# The path to the webbrowser.\n");
-  fprintf(pf, "# Ex: mozilla %%s\n");
+  fprintf(pf, "# Ex: htmlview %%s\n");
   fprintf(pf, PRS_GUI_WEBBROWSER ": %s\n", prefs.gui_webbrowser);

   fprintf (pf, "\n######## User Interface: Layout ########\n");


--
Radek Vokál <rvokal@xxxxxxxxxx> -- Red Hat, Inc.

Linux 2.6.9-1.681_FC3smp #1 SMP Thu Nov 18 15:19:10 EST 2004 i686
GNU/Linux