From: Christian Dywan Date: Sun, 18 Dec 2011 01:12:36 +0000 (+0100) Subject: Always unset delay on about: pages X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34c7d601c60d21c7f68e76ae9d219e6a970d04fb;p=midori Always unset delay on about: pages These pages are not affected by delay but going to a different page will honor the still set delay. --- diff --git a/midori/midori-view.c b/midori/midori-view.c index a71ffdb8..022f92db 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3849,6 +3849,7 @@ midori_view_set_uri (MidoriView* view, katze_assign (view->uri, NULL); katze_assign (view->mime_type, g_strdup ("text/html")); + katze_item_set_meta_integer (view->item, "delay", -1); if (speeddial_markup == NULL) speeddial_markup = prepare_speed_dial_html (view, TRUE); @@ -4007,6 +4008,7 @@ midori_view_set_uri (MidoriView* view, webkit_web_view_load_html_string ( WEBKIT_WEB_VIEW (view->web_view), data, view->uri); g_free (data); + katze_item_set_meta_integer (view->item, "delay", -1); if (g_strcmp0 (view->item->uri, view->uri)) katze_item_set_uri (view->item, view->uri); g_object_notify (G_OBJECT (view), "uri");