Don't load speed dial in --app or --private

We can't guarantee URIs don't contain sensitive values.
This commit is contained in:
Christian Dywan 2012-06-01 00:19:15 +02:00
parent 4a4887b511
commit c6f81c62e0

View file

@ -2136,8 +2136,6 @@ main (int argc,
search_engines = search_engines_new_from_folder (config, NULL);
g_object_set (browser, "search-engines", search_engines, NULL);
g_object_unref (search_engines);
speeddial = speeddial_new_from_file (config, &error);
g_object_set (browser, "speed-dial", speeddial, NULL);
}
else
settings = g_object_ref (midori_browser_get_settings (browser));