commit 8cb1c77c6ac4b474c9a180f6c7137ac8084c33d9
parent e3e8e36ba610558ae6f451acc16079c9b9bd3103
Author: Kyle Milz <kmilz@ucalgary.ca>
Date: Tue, 25 Sep 2012 15:57:36 -0600
Don't save cookies while in no-history mode
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/commands.c b/src/commands.c
@@ -1512,9 +1512,11 @@ toggle_history(const Arg *arg, void *data)
if (bd->history_enabled) {
bd->history_enabled = EINA_FALSE;
+ ewk_cookies_policy_set(EWK_COOKIE_JAR_ACCEPT_NEVER);
update_url(elm_web_uri_get(bd->web), data);
} else {
bd->history_enabled = EINA_TRUE;
+ ewk_cookies_policy_set(EWK_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY);
update_url(elm_web_uri_get(bd->web), data);
}
diff --git a/src/main.c b/src/main.c
@@ -793,7 +793,6 @@ setup_config(App_Data *ad, int argc, char **argv)
ewk_cookies_file_set(path);
ewk_cookies_policy_set(EWK_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY);
-
eina_strlcpy(basename, "config.eet", sizeof(path) - dirlen);
config = config_load(path);
if (!config) {