Remove cookie feature after running cleanup callbacks
This commit is contained in:
parent
bac3dc1842
commit
e4d03290d3
1 changed files with 4 additions and 3 deletions
|
@ -2544,9 +2544,6 @@ main (int argc,
|
||||||
|
|
||||||
g_object_get (settings, "maximum-history-age", &max_history_age, NULL);
|
g_object_get (settings, "maximum-history-age", &max_history_age, NULL);
|
||||||
midori_history_terminate (history, max_history_age);
|
midori_history_terminate (history, max_history_age);
|
||||||
/* Removing KatzeHttpCookies makes it save outstanding changes */
|
|
||||||
soup_session_remove_feature_by_type (webkit_get_default_session (),
|
|
||||||
KATZE_TYPE_HTTP_COOKIES);
|
|
||||||
|
|
||||||
/* Clear data on quit, according to the Clear private data dialog */
|
/* Clear data on quit, according to the Clear private data dialog */
|
||||||
g_object_get (settings, "clear-private-data", &clear_prefs, NULL);
|
g_object_get (settings, "clear-private-data", &clear_prefs, NULL);
|
||||||
|
@ -2568,6 +2565,10 @@ main (int argc,
|
||||||
g_free (clear_data);
|
g_free (clear_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Removing KatzeHttpCookies makes it save outstanding changes */
|
||||||
|
soup_session_remove_feature_by_type (webkit_get_default_session (),
|
||||||
|
KATZE_TYPE_HTTP_COOKIES);
|
||||||
|
|
||||||
load_on_startup = katze_object_get_int (settings, "load-on-startup");
|
load_on_startup = katze_object_get_int (settings, "load-on-startup");
|
||||||
if (load_on_startup < MIDORI_STARTUP_LAST_OPEN_PAGES)
|
if (load_on_startup < MIDORI_STARTUP_LAST_OPEN_PAGES)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue