From c712758ed3967b020e8b5a3653e898cd9665e03a Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 5 Jan 2011 19:13:18 +0100 Subject: [PATCH] Spawn commands with about: arguments like URIs --- midori/sokoke.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/sokoke.c b/midori/sokoke.c index 962eb589..055ebddb 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; -- 2.39.5