summaryrefslogtreecommitdiff
path: root/editors/AbiWord2
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-08 16:11:09 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-08 16:11:09 +0000
commit8a16cfc628e4a314e3f57ac5ecadb6bd3c798b0c (patch)
treebce73870fe61e4dcc1ce2ef7acb75f2429832567 /editors/AbiWord2
parentUpdate WWW. (diff)
Add `w3m' and `gnome-help-browser' into the list of browsers that may be used
to read AbiWord help files.
Notes
Notes: svn path=/head/; revision=45972
Diffstat (limited to 'editors/AbiWord2')
-rw-r--r--editors/AbiWord2/files/patch-src::af::xap::unix::xap_UnixFrame.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/AbiWord2/files/patch-src::af::xap::unix::xap_UnixFrame.cpp b/editors/AbiWord2/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
new file mode 100644
index 000000000000..9eea861c1a92
--- /dev/null
+++ b/editors/AbiWord2/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
@@ -0,0 +1,26 @@
+
+$FreeBSD$
+
+--- src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 15:59:48 1.1
++++ src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 16:06:14
+@@ -767,9 +767,19 @@
+ fmtstring = "khelpcenter %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+- else
++ else if(progExists("gnome-help-browser"))
++ {
++ fmtstring = "gnome-help-browser %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("lynx"))
+ {
+ fmtstring = "xterm -e lynx %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("w3m"))
++ {
++ fmtstring = "xterm -e w3m %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+