Change "delay" to "-2" after delaying the page load.

This is needed in order to check the truth page status.
This commit is contained in:
André Stösel 2012-06-07 23:18:49 +02:00 committed by Christian Dywan
parent 8e3d770e09
commit 0ecfd696ba

View file

@ -4351,7 +4351,7 @@ midori_view_set_uri (MidoriView* view,
else if (katze_item_get_meta_boolean (view->item, "delay")) else if (katze_item_get_meta_boolean (view->item, "delay"))
{ {
katze_assign (view->uri, g_strdup (uri)); 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 ( midori_view_display_error (
view, view->uri, view->title ? view->title : view->uri, view, view->uri, view->title ? view->title : view->uri,
_("Page loading delayed"), _("Page loading delayed"),