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.
This commit is contained in:
parent
9adf9458b0
commit
47514c180e
1 changed files with 1 additions and 0 deletions
|
@ -1758,6 +1758,7 @@ main (int argc,
|
||||||
NULL);
|
NULL);
|
||||||
g_object_unref (settings);
|
g_object_unref (settings);
|
||||||
g_object_set (browser, "settings", settings, NULL);
|
g_object_set (browser, "settings", settings, NULL);
|
||||||
|
sokoke_set_config_dir ("/");
|
||||||
g_signal_connect (browser, "notify::load-status",
|
g_signal_connect (browser, "notify::load-status",
|
||||||
G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL);
|
G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL);
|
||||||
midori_browser_add_uri (browser, webapp);
|
midori_browser_add_uri (browser, webapp);
|
||||||
|
|
Loading…
Reference in a new issue