aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/03_preferences.dpatch
blob: 3c1c434e1eb94313e63f0777b7c2f35fdfc3b6f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_preferences.dpatch by  <fpeters@debian.org>
## Updated from original Debian version to match the 1.9 trunk.
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: use Debian sensible-browser

@DPATCH@
--- a/epan/prefs.c	(revision 47051)
+++ b/epan/prefs.c	(working copy)
@@ -2644,7 +2644,7 @@
   prefs.gui_find_wrap              = TRUE;
   prefs.gui_use_pref_save          = FALSE;
   /* This can be g_freed, so it must be g_mallocated. */
-  prefs.gui_webbrowser             = g_strdup(HTML_VIEWER " %s");
+  prefs.gui_webbrowser             = g_strdup("sensible-browser %s");
   /* This can be g_freed, so it must be g_mallocated. */
   prefs.gui_window_title           = g_strdup("");
   prefs.gui_start_title            = "The World's Most Popular Network Protocol Analyzer";