From: Christian Dywan Date: Sun, 24 Oct 2010 18:08:32 +0000 (+0200) Subject: Don't load cookie jar in app mode with config X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cdc0261e94ff8b4ad9487e75518baa98642d027;p=midori Don't load cookie jar in app mode with config Originally meant for app mode, this is wrong as default behaviour since private mode would load all cookies. --- diff --git a/midori/main.c b/midori/main.c index ecdb700a..db644e9b 100644 --- a/midori/main.c +++ b/midori/main.c @@ -1833,15 +1833,8 @@ main (int argc, midori_startup_timer ("Browser: \t%f"); if (config) { - SoupCookieJar* jar; - settings = settings_and_accels_new (config, &extensions); g_strfreev (extensions); - config_file = g_build_filename (config, "cookies.txt", NULL); - jar = soup_cookie_jar_text_new (config_file, TRUE); - g_free (config_file); - soup_session_add_feature (session, SOUP_SESSION_FEATURE (jar)); - g_object_unref (jar); search_engines = search_engines_new_from_folder (config, NULL); g_object_set (browser, "search-engines", search_engines, NULL); g_object_unref (search_engines);