blob: 9eea861c1a920fb5cdb93c4fc26117be20dec888 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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);
}
|