[Xfce4-commits] <midori:master> Spawn commands with about: arguments like URIs

Christian Dywan noreply at xfce.org
Thu Jan 6 03:46:01 CET 2011


Updating branch refs/heads/master
         to c712758ed3967b020e8b5a3653e898cd9665e03a (commit)
       from 6582ae6d1073e2d73cd2f5b9221b6a84c4929f23 (commit)

commit c712758ed3967b020e8b5a3653e898cd9665e03a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jan 5 19:13:18 2011 +0100

    Spawn commands with about: arguments like URIs

 midori/sokoke.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/midori/sokoke.c b/midori/sokoke.c
index 962eb58..055ebdd 100644
--- a/midori/sokoke.c
+++ b/midori/sokoke.c
@@ -420,7 +420,8 @@ sokoke_spawn_program (const gchar* command,
     g_return_val_if_fail (command != NULL, FALSE);
     g_return_val_if_fail (argument != NULL, FALSE);
 
-    if (!g_strstr_len (argument, 8, "://"))
+    if (!g_strstr_len (argument, 8, "://")
+     && !g_str_has_prefix (argument, "about:"))
     {
         gboolean success;
 



More information about the Xfce4-commits mailing list