[Xfce4-commits] <midori:master> Set an invalid config dir in app mode to prevent accidental pickup
Christian Dywan
noreply at xfce.org
Mon Dec 7 21:04:02 CET 2009
Updating branch refs/heads/master
to 47514c180ee2f1450417508aae25551db87c3ca0 (commit)
from 9adf9458b01115cbb046eb46306a1c0d3801d46e (commit)
commit 47514c180ee2f1450417508aae25551db87c3ca0
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Dec 7 20:58:07 2009 +0100
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 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index 9d45f38..19f2e6e 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);
More information about the Xfce4-commits
mailing list