From: Christian Dywan Date: Mon, 7 Dec 2009 19:58:07 +0000 (+0100) Subject: Set an invalid config dir in app mode to prevent accidental pickup X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47514c180ee2f1450417508aae25551db87c3ca0;p=midori 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. --- 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);