Author: kelnos
Date: 2008-02-21 20:08:41 +0000 (Thu, 21 Feb 2008)
New Revision: 26632

Modified:
   xfdesktop/branches/xfce_4_4/src/main.c
Log:
fix criticals on startup that cause menu and windowlist settings to not get
noticed properly.  forgot to fix this on 4.4 branch (bug 3863)


Modified: xfdesktop/branches/xfce_4_4/src/main.c
===================================================================
--- xfdesktop/branches/xfce_4_4/src/main.c      2008-02-21 19:46:57 UTC (rev 
26631)
+++ xfdesktop/branches/xfce_4_4/src/main.c      2008-02-21 20:08:41 UTC (rev 
26632)
@@ -382,8 +382,8 @@
     windowlist_set_show_icons(desktop_gtk_menu_images);
     
     if(mcs_client) {
-        settings_register_callback(menu_settings_changed, NULL);
-        settings_register_callback(windowlist_settings_changed, NULL);
+        settings_register_callback(menu_settings_changed, desktops[0]);
+        settings_register_callback(windowlist_settings_changed, desktops[0]);
     }
     
     signal(SIGHUP, sighandler_cb);

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to