Commit 8b202d7f authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Remove monitoring of old gnome-vfs gconf directory. Preload the gconf

2009-02-26  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-global-preferences.c:
        (nautilus_global_preferences_init):
	Remove monitoring of old gnome-vfs gconf directory.
	Preload the gconf directories that are used on startup.



svn path=/trunk/; revision=15023
parent 23474d5f
2009-02-26 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-global-preferences.c:
(nautilus_global_preferences_init):
Remove monitoring of old gnome-vfs gconf directory.
Preload the gconf directories that are used on startup.
2009-02-26 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-directory-view.c (add_submenu):
......
......@@ -40,8 +40,7 @@
#define PREFERENCES_SORT_ORDER_MANUALLY 100
/* Path for gnome-vfs preferences */
static const char *EXTRA_MONITOR_PATHS[] = { "/system/gnome_vfs",
"/desktop/gnome/file_views",
static const char *EXTRA_MONITOR_PATHS[] = { "/desktop/gnome/file_views",
NULL };
/* Forward declarations */
......@@ -819,4 +818,12 @@ nautilus_global_preferences_init (void)
/* Preload everything in a big batch */
eel_gconf_preload_cache ("/apps/nautilus/preferences",
GCONF_CLIENT_PRELOAD_ONELEVEL);
eel_gconf_preload_cache ("/desktop/gnome/file_views",
GCONF_CLIENT_PRELOAD_ONELEVEL);
/* These are always needed for the desktop */
eel_gconf_preload_cache ("/apps/nautilus/desktop",
GCONF_CLIENT_PRELOAD_ONELEVEL);
eel_gconf_preload_cache ("/apps/nautilus/icon_view",
GCONF_CLIENT_PRELOAD_ONELEVEL);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment