From 13b1c9462b78447ce9b228a476f555bf8f1c3164 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 7 Feb 2010 23:41:45 +0100 Subject: [PATCH] Connect config change notifications after creating the first browser --- midori/main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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) {