summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-global-preferences.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-22 22:45:39 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-23 12:22:56 +0200
commit706efc521fec6035d644600b18afdfe20ac9d472 (patch)
tree637f052eea9b18d21c6bddc2d8620a69b36282f5 /libnautilus-private/nautilus-global-preferences.c
parentf6697ac99280f4fd9b8920d52bcc7407fd09c15c (diff)
downloadnautilus-706efc521fec6035d644600b18afdfe20ac9d472.tar.gz
Convert tree sidebar prefs to gsettings
Diffstat (limited to 'libnautilus-private/nautilus-global-preferences.c')
-rw-r--r--libnautilus-private/nautilus-global-preferences.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/libnautilus-private/nautilus-global-preferences.c b/libnautilus-private/nautilus-global-preferences.c
index 2e5948a06..755f9b16f 100644
--- a/libnautilus-private/nautilus-global-preferences.c
+++ b/libnautilus-private/nautilus-global-preferences.c
@@ -159,16 +159,6 @@ typedef struct
* YOU SHOULD EDIT THE SCHEMAS FILE TO CHANGE DEFAULTS.
*/
static const PreferenceDefault preference_defaults[] = {
- /* Don't show remote directory item counts by default
- * because computing them can be annoyingly slow, especially
- * for FTP. If we make this fast enough for FTP in particular,
- * we should change this default to ALWAYS.
- */
- { NAUTILUS_PREFERENCES_TREE_SHOW_ONLY_DIRECTORIES,
- PREFERENCE_BOOLEAN,
- GINT_TO_POINTER (TRUE)
- },
-
/* Icon View Default Preferences */
/* Compact Icon View Default Preferences */
{ NAUTILUS_PREFERENCES_COMPACT_VIEW_DEFAULT_ZOOM_LEVEL,
@@ -407,6 +397,7 @@ nautilus_global_preferences_init (void)
nautilus_window_state = g_settings_new("org.gnome.nautilus.window-state");
nautilus_icon_view_preferences = g_settings_new("org.gnome.nautilus.icon-view");
nautilus_desktop_preferences = g_settings_new("org.gnome.nautilus.desktop");
+ nautilus_tree_sidebar_preferences = g_settings_new("org.gnome.nautilus.sidebar-panels.tree");
/* Set up storage for values accessed in this file */
g_signal_connect_swapped (nautilus_icon_view_preferences,