KatzeItem* item;
gint i = 0;
while ((item = katze_array_get_nth_item (session, i++)))
- {
- if (katze_item_get_meta_integer (item, "delay") < 0)
- katze_item_set_meta_integer (item, "delay", 1);
- }
+ katze_item_set_meta_integer (item, "delay", 1);
}
static void
uri_ready = midori_prepare_uri (uri);
katze_item_set_uri (item, uri_ready);
g_free (uri_ready);
- katze_item_set_meta_integer (item, "delay", 0);
katze_array_add_item (_session, item);
uri = strtok (NULL, "|");
}
and deleted during normal runtime, but persists in case of a crash. */
katze_assign (config_file, build_config_filename ("running"));
if (g_access (config_file, F_OK) == 0)
- {
back_from_crash = TRUE;
- }
else
g_file_set_contents (config_file, "RUNNING", -1, NULL);
{
katze_assign (view->uri, sokoke_format_uri_for_display (uri));
katze_item_set_uri (view->item, uri);
+ katze_item_set_meta_integer (view->item, "delay", -1);
g_object_notify (G_OBJECT (view), "uri");
webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), uri);
}
webkit_web_view_reload (WEBKIT_WEB_VIEW (view->web_view));
else
webkit_web_view_reload_bypass_cache (WEBKIT_WEB_VIEW (view->web_view));
+ katze_item_set_meta_integer (view->item, "delay", -1);
g_free (title);
}