rpms/htmlview/devel htmlview,1.15,1.16 htmlview.spec,1.27,1.28

Warren Togami (wtogami) fedora-extras-commits at redhat.com
Wed May 9 18:04:22 UTC 2007


Author: wtogami

Update of /cvs/pkgs/rpms/htmlview/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5481

Modified Files:
	htmlview htmlview.spec 
Log Message:
run konqueror in browser mode #239293



Index: htmlview
===================================================================
RCS file: /cvs/pkgs/rpms/htmlview/devel/htmlview,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- htmlview	7 May 2007 16:33:50 -0000	1.15
+++ htmlview	9 May 2007 18:03:48 -0000	1.16
@@ -68,7 +68,7 @@
     fi
     # Special case: konqueror without arguments
     if [ "$GCONF" = "konqueror" ] && [ -z $1 ]; then
-        GCONF="konqueror about:konqueror"
+        GCONF="kfmclient openProfile webbrowsing"
     fi
 
     # Run GUI browser
@@ -152,6 +152,11 @@
 	exit 1
 else
 	for i in $X11BROWSERS; do
+                set -x 
+		# HACK! Run konqueror in browser mode
+		if exists $i && [ "$i" = "/usr/bin/konqueror" ] && [ -z $1 ]; then
+			exec kfmclient openProfile webbrowsing
+		fi
 		exists $i && exec $i "$1"
 	done
 	for i in $TERMS; do


Index: htmlview.spec
===================================================================
RCS file: /cvs/pkgs/rpms/htmlview/devel/htmlview.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- htmlview.spec	7 May 2007 16:33:50 -0000	1.27
+++ htmlview.spec	9 May 2007 18:03:48 -0000	1.28
@@ -1,6 +1,6 @@
 Name: htmlview
 Version: 4.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Tools for launching Preferred Applications
 License: Public Domain
 Source0: htmlview
@@ -39,6 +39,9 @@
 %{_datadir}/applications/redhat-email.desktop
 
 %changelog
+* Wed May 09 2007 Warren Togami <wtogami at redhat.com> - 4.0.0-3
+- run konqueror in browser mode #239293
+
 * Mon May 07 2007 Warren Togami <wtogami at redhat.com> - 4.0.0-2
 - if KDE-only desktop, use fallback apps so konqueror and kmail will launch
   #239300 and #239293




More information about the fedora-extras-commits mailing list