From c5178d52f4d5ee81e86729b9a24c2db3c27b73ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Forysiuk?= Date: Wed, 23 Feb 2011 07:23:06 +0100 Subject: [PATCH] Don't append pause: to already paused URIs --- midori/midori-browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 4120e9da..cafa5fbe 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -6731,7 +6731,8 @@ midori_browser_add_item (MidoriBrowser* browser, /* Blank pages should not be delayed */ if (katze_item_get_meta_integer (item, "delay") > 0 - && strcmp (uri, "about:blank") != 0) + && strcmp (uri, "about:blank") != 0 + && strncmp (uri, "pause:", 6) != 0) { gchar* new_uri = g_strdup_printf ("pause:%s", uri); midori_view_set_uri (MIDORI_VIEW (view), new_uri);