#! /bin/sh /usr/share/dpatch/dpatch-run ## 10_firefox.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Add firefox to HTML viewers @DPATCH@ --- bluefish-1.0.7/src/rcfile.c 2006-10-08 08:51:07.000000000 -0700 +++ bluefish-1.0.7.new/src/rcfile.c 2009-11-27 19:32:50.126267216 -0800 @@ -500,6 +500,8 @@ if (main_v->props.browsers == NULL) { /* if the user does not have browsers --> set them to defaults values */ gchar **arr; + arr = array_from_arglist(_("Firefox"), "firefox -remote 'openURL(%s, new-window)' || firefox %s&",NULL); + main_v->props.browsers = g_list_append(main_v->props.browsers,arr); arr = array_from_arglist(_("Galeon"), "galeon -x %s&",NULL); main_v->props.browsers = g_list_append(main_v->props.browsers,arr); arr = array_from_arglist(_("Mozilla"), "mozilla -remote 'openURL(%s, new-window)' || mozilla %s&",NULL);