From 47514c180ee2f1450417508aae25551db87c3ca0 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 7 Dec 2009 20:58:07 +0100 Subject: [PATCH] Set an invalid config dir in app mode to prevent accidental pickup We don't want web apps to accidentally use configuration files from the default folder, eg. for speed dial. --- midori/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/midori/main.c b/midori/main.c index 9d45f382..19f2e6e4 100644 --- a/midori/main.c +++ b/midori/main.c @@ -1758,6 +1758,7 @@ main (int argc, NULL); g_object_unref (settings); g_object_set (browser, "settings", settings, NULL); + sokoke_set_config_dir ("/"); g_signal_connect (browser, "notify::load-status", G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL); midori_browser_add_uri (browser, webapp); -- 2.39.5