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



commit 3d7178b45abc2a291f62c884688fe2890a8040f5
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 eed2690..64d9bff 100644
--- a/capplets/default-applications/gnome-da-capplet.c
+++ b/capplets/default-applications/gnome-da-capplet.c
@@ -967,6 +967,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]