[gnome-control-center/gnome-2-28] [default-applications] be sure to add the gconf directories for monitoring



commit f3fcc40f24b37f7d6442e93eb8f496a304a3e377
Author: Thomas Wood <thos gnome org>
Date:   Mon Dec 7 22:27:04 2009 +0000

    [default-applications] be sure to add the gconf directories for monitoring
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=597186

 capplets/default-applications/gnome-da-capplet.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/capplets/default-applications/gnome-da-capplet.c b/capplets/default-applications/gnome-da-capplet.c
index 38fb9db..164d397 100644
--- a/capplets/default-applications/gnome-da-capplet.c
+++ b/capplets/default-applications/gnome-da-capplet.c
@@ -915,6 +915,12 @@ main (int argc, char **argv)
 
     capplet = g_new0 (GnomeDACapplet, 1);
     capplet->gconf = gconf_client_get_default ();
+    gconf_client_add_dir (capplet->gconf, "/desktop/gnome/url-handlers",
+                          GCONF_CLIENT_PRELOAD_RECURSIVE, NULL);
+    gconf_client_add_dir (capplet->gconf, 
+                          "/desktop/gnome/applications",
+                          GCONF_CLIENT_PRELOAD_RECURSIVE, NULL);
+
     gnome_da_xml_load_list (capplet);
 
     show_dialog (capplet, start_page);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]