]> spindle.queued.net Git - midori/commitdiff
Spawn commands with about: arguments like URIs
authorChristian Dywan <christian@twotoasts.de>
Wed, 5 Jan 2011 18:13:18 +0000 (19:13 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 5 Jan 2011 18:13:18 +0000 (19:13 +0100)
midori/sokoke.c

index 962eb589a2c9c2c700b57e97a6ca17814dbe5bed..055ebddbba55474a64335449f83a2b010ec39bdb 100644 (file)
@@ -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;