Connect config change notifications after creating the first browser

This commit is contained in:
Christian Dywan 2010-02-07 23:41:45 +01:00
parent 582026fd1b
commit 13b1c9462b

View file

@ -1193,6 +1193,9 @@ midori_load_session (gpointer data)
#endif
browser = midori_app_create_browser (app);
g_signal_connect_after (katze_object_get_object (app, "settings"), "notify",
G_CALLBACK (settings_notify_cb), app);
config_file = build_config_filename ("session.old.xbel");
if (g_access (config_file, F_OK) == 0)
{
@ -1856,10 +1859,6 @@ main (int argc,
}
}
katze_assign (config_file, build_config_filename ("config"));
g_signal_connect_after (settings, "notify",
G_CALLBACK (settings_notify_cb), app);
katze_assign (config_file, build_config_filename ("search"));
if (1)
{