From: Christian Dywan Date: Sun, 7 Feb 2010 22:41:45 +0000 (+0100) Subject: Connect config change notifications after creating the first browser X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13b1c9462b78447ce9b228a476f555bf8f1c3164;p=midori Connect config change notifications after creating the first browser --- diff --git a/midori/main.c b/midori/main.c index b8480b6d..8d49d729 100644 --- a/midori/main.c +++ b/midori/main.c @@ -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) {