]> spindle.queued.net Git - midori/commitdiff
Change "delay" to "-2" after delaying the page load.
authorAndré Stösel <andre@stoesel.de>
Thu, 7 Jun 2012 21:18:49 +0000 (23:18 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 11 Jun 2012 21:35:59 +0000 (23:35 +0200)
This is needed in order to check the truth page status.

midori/midori-view.c

index 8914144bed6361ee5882df9d183be0bb51eed5df..00bd6ffea5784d98613cc9b0cd2a5d2bc792295b 100644 (file)
@@ -4351,7 +4351,7 @@ midori_view_set_uri (MidoriView*  view,
         else if (katze_item_get_meta_boolean (view->item, "delay"))
         {
             katze_assign (view->uri, g_strdup (uri));
-            katze_item_set_meta_integer (view->item, "delay", -1);
+            katze_item_set_meta_integer (view->item, "delay", -2);
             midori_view_display_error (
                 view, view->uri, view->title ? view->title : view->uri,
                 _("Page loading delayed"),