summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 16:17:30 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 16:17:30 +0200
commit3f1231c4539d2dfb3620b89e978157be6302ef53 (patch)
tree128b79a7607af7b5b6f7ac6aa86f92ccb453face /libcaja-private
parentbf5ae0b15f125d949e4e8cc2a52abb94f809dc94 (diff)
downloadcaja-3f1231c4539d2dfb3620b89e978157be6302ef53.tar.bz2
caja-3f1231c4539d2dfb3620b89e978157be6302ef53.tar.xz
convert sort-directories-first to gsettings
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-global-preferences.c5
-rw-r--r--libcaja-private/caja-global-preferences.h2
2 files changed, 1 insertions, 6 deletions
diff --git a/libcaja-private/caja-global-preferences.c b/libcaja-private/caja-global-preferences.c
index ce9336b7..5df398bc 100644
--- a/libcaja-private/caja-global-preferences.c
+++ b/libcaja-private/caja-global-preferences.c
@@ -249,11 +249,6 @@ static const PreferenceDefault preference_defaults[] =
"speed_tradeoff"
},
{
- CAJA_PREFERENCES_SORT_DIRECTORIES_FIRST,
- PREFERENCE_BOOLEAN,
- GINT_TO_POINTER (FALSE)
- },
- {
CAJA_PREFERENCES_SEARCH_BAR_TYPE,
PREFERENCE_STRING,
"search_by_text",
diff --git a/libcaja-private/caja-global-preferences.h b/libcaja-private/caja-global-preferences.h
index 99a1edc8..c9d1bbfc 100644
--- a/libcaja-private/caja-global-preferences.h
+++ b/libcaja-private/caja-global-preferences.h
@@ -115,7 +115,7 @@ G_BEGIN_DECLS
#define CAJA_WINDOW_STATE_SIDEBAR_WIDTH "sidebar-width"
/* Sorting order */
-#define CAJA_PREFERENCES_SORT_DIRECTORIES_FIRST "preferences/sort_directories_first"
+#define CAJA_PREFERENCES_SORT_DIRECTORIES_FIRST "sort-directories-first"
/* The default folder viewer - one of the two enums below */
#define CAJA_PREFERENCES_DEFAULT_FOLDER_VIEWER "preferences/default_folder_viewer"