]> spindle.queued.net Git - midori/commitdiff
Always unset delay on about: pages
authorChristian Dywan <christian@twotoasts.de>
Sun, 18 Dec 2011 01:12:36 +0000 (02:12 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 18 Dec 2011 01:12:36 +0000 (02:12 +0100)
These pages are not affected by delay but going to
a different page will honor the still set delay.

midori/midori-view.c

index a71ffdb8b1841cd17664bea9d5d40d43e7f2944a..022f92dbb0f0a0e89714df93a769df61bc272728 100644 (file)
@@ -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");