[Xfce4-commits] <midori:master> Don't append pause: to already paused URIs
Christian Dywan
noreply at xfce.org
Thu Feb 24 21:28:03 CET 2011
Updating branch refs/heads/master
to c5178d52f4d5ee81e86729b9a24c2db3c27b73ac (commit)
from ac7ce0f7923f37c89f8f30641a747c9124377685 (commit)
commit c5178d52f4d5ee81e86729b9a24c2db3c27b73ac
Author: Paweł Forysiuk <tuxator at o2.pl>
Date: Wed Feb 23 07:23:06 2011 +0100
Don't append pause: to already paused URIs
midori/midori-browser.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 4120e9d..cafa5fb 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);
More information about the Xfce4-commits
mailing list