summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-list-view.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 14:44:07 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 14:44:07 +0200
commitb10e30db918ff889bb06540e129b3f31b2815da2 (patch)
treed98d7640c4275e4d6496f54926b580e59b9253b7 /src/file-manager/fm-list-view.c
parentf82a305cde0842e53d7468ce37b4cd02161838c5 (diff)
downloadcaja-b10e30db918ff889bb06540e129b3f31b2815da2.tar.bz2
caja-b10e30db918ff889bb06540e129b3f31b2815da2.tar.xz
convert click-policy to gsettings
Diffstat (limited to 'src/file-manager/fm-list-view.c')
-rw-r--r--src/file-manager/fm-list-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 487f3023..2a0aa693 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -3288,8 +3288,9 @@ fm_list_view_class_init (FMListViewClass *class)
fm_directory_view_class->using_manual_layout = fm_list_view_using_manual_layout;
fm_directory_view_class->set_is_active = real_set_is_active;
- eel_preferences_add_auto_enum (CAJA_PREFERENCES_CLICK_POLICY,
- &click_policy_auto_value);
+ eel_g_settings_add_auto_enum (caja_preferences,
+ CAJA_PREFERENCES_CLICK_POLICY,
+ &click_policy_auto_value);
eel_preferences_add_auto_string (CAJA_PREFERENCES_LIST_VIEW_DEFAULT_SORT_ORDER,
(const char **) &default_sort_order_auto_value);
eel_preferences_add_auto_boolean (CAJA_PREFERENCES_LIST_VIEW_DEFAULT_SORT_IN_REVERSE_ORDER,