From: Paweł Forysiuk Date: Wed, 23 Feb 2011 06:23:06 +0000 (+0100) Subject: Don't append pause: to already paused URIs X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5178d52f4d5ee81e86729b9a24c2db3c27b73ac;p=midori Don't append pause: to already paused URIs --- 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);