[Xfce4-commits] <midori:master> Connect config change notifications after creating the first browser

Christian Dywan noreply at xfce.org
Wed Feb 10 19:52:01 CET 2010


Updating branch refs/heads/master
         to 13b1c9462b78447ce9b228a476f555bf8f1c3164 (commit)
       from 582026fd1b1b898e0e375afacc04be645bdfc5ac (commit)

commit 13b1c9462b78447ce9b228a476f555bf8f1c3164
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Feb 7 23:41:45 2010 +0100

    Connect config change notifications after creating the first browser

 midori/main.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index b8480b6..8d49d72 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)
     {



More information about the Xfce4-commits mailing list