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

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=597186
This commit is contained in:
Thomas Wood 2009-12-07 22:27:04 +00:00
parent a346d3a1fc
commit 3d7178b45a

View file

@ -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);