rpms/xarchiver/devel xarchiver-0.4.9-xdg-open.patch,NONE,1.1
Christoph Wickert (cwickert)
fedora-extras-commits at redhat.com
Fri Mar 14 21:20:53 UTC 2008
Author: cwickert
Update of /cvs/pkgs/rpms/xarchiver/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1814
Added Files:
xarchiver-0.4.9-xdg-open.patch
Log Message:
add xarchiver-0.4.9-xdg-open.patch
xarchiver-0.4.9-xdg-open.patch:
--- NEW FILE xarchiver-0.4.9-xdg-open.patch ---
Index: src/callbacks.c
===================================================================
--- src/callbacks.c (revision 24249)
+++ src/callbacks.c (working copy)
@@ -2163,11 +2163,15 @@
gchar *browser_path;
//TODO: retrieve the user set browser from prefs and use it
- browser_path = g_find_program_in_path ("exo-open");
+ browser_path = g_find_program_in_path ("xdg-open");
+
if ( browser_path == NULL)
browser_path = g_find_program_in_path ("htmlview");
if ( browser_path == NULL)
+ browser_path = g_find_program_in_path ("exo-open");
+
+ if ( browser_path == NULL)
browser_path = g_find_program_in_path ("firefox");
if ( browser_path == NULL)
More information about the fedora-extras-commits
mailing list