[Goodies-commits] r5196 - in xfce4-dict/trunk: . lib

Enrico Troeger enrico at xfce.org
Tue Aug 5 10:31:17 CEST 2008


Author: enrico
Date: 2008-08-05 08:31:17 +0000 (Tue, 05 Aug 2008)
New Revision: 5196

Modified:
   xfce4-dict/trunk/ChangeLog
   xfce4-dict/trunk/lib/common.c
Log:
 * Add 'xdg-open' as possible browser command to open URLs.

Modified: xfce4-dict/trunk/ChangeLog
===================================================================
--- xfce4-dict/trunk/ChangeLog	2008-08-05 08:30:57 UTC (rev 5195)
+++ xfce4-dict/trunk/ChangeLog	2008-08-05 08:31:17 UTC (rev 5196)
@@ -4,6 +4,7 @@
  * Prevent opening a file manager when there is set an empty search URL.
  * Make dict_open_browser() static for common.c as it is not used
    anywhere else.
+ * Add 'xdg-open' as possible browser command to open URLs.
 
 
 2008-07-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: xfce4-dict/trunk/lib/common.c
===================================================================
--- xfce4-dict/trunk/lib/common.c	2008-08-05 08:30:57 UTC (rev 5195)
+++ xfce4-dict/trunk/lib/common.c	2008-08-05 08:31:17 UTC (rev 5196)
@@ -130,7 +130,7 @@
 	gboolean result = FALSE;
 	guint i = 0;
 	const gchar *browsers[] = {
-		"exo-open", "htmlview", "firefox", "mozilla",
+		"xdg-open", "exo-open", "htmlview", "firefox", "mozilla",
 		"opera", "epiphany", "konqueror", "seamonkey", NULL };
 
 	while (browsers[i] != NULL && (browser_path = g_find_program_in_path(browsers[i])) == NULL)




More information about the Goodies-commits mailing list