]> spindle.queued.net Git - midori/commitdiff
Don't load cookie jar in app mode with config
authorChristian Dywan <christian@twotoasts.de>
Sun, 24 Oct 2010 18:08:32 +0000 (20:08 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 24 Oct 2010 19:06:27 +0000 (21:06 +0200)
Originally meant for app mode, this is wrong as default
behaviour since private mode would load all cookies.

midori/main.c

index ecdb700ab2a7da4c21d7fdbe74d157ef5ce3fa1d..db644e9b17996f0e47340ce9fbe712186106d76a 100644 (file)
@@ -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);