summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 16:55:12 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 16:55:12 +0200
commit562875c2ed80bd7501fb161564ab88c731ac497c (patch)
treece4641b88d670ada980feee9a0b109ee79660924 /libcaja-private/caja-directory.c
parent46925062b04255e723ff931ac82aefda9cfc516d (diff)
downloadcaja-562875c2ed80bd7501fb161564ab88c731ac497c.tar.bz2
caja-562875c2ed80bd7501fb161564ab88c731ac497c.tar.xz
convert show-directory-item-counts to gsettings
Diffstat (limited to 'libcaja-private/caja-directory.c')
-rw-r--r--libcaja-private/caja-directory.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libcaja-private/caja-directory.c b/libcaja-private/caja-directory.c
index 2318e409..faa6a22c 100644
--- a/libcaja-private/caja-directory.c
+++ b/libcaja-private/caja-directory.c
@@ -335,9 +335,10 @@ add_preferences_callbacks (void)
"changed::" CAJA_PREFERENCES_SHOW_TEXT_IN_ICONS,
G_CALLBACK (async_data_preference_changed_callback),
NULL);
- eel_preferences_add_callback (CAJA_PREFERENCES_SHOW_DIRECTORY_ITEM_COUNTS,
- async_data_preference_changed_callback,
- NULL);
+ g_signal_connect_swapped (caja_preferences,
+ "changed::" CAJA_PREFERENCES_SHOW_DIRECTORY_ITEM_COUNTS,
+ G_CALLBACK (async_data_preference_changed_callback),
+ NULL);
g_signal_connect_swapped (caja_preferences,
"changed::" CAJA_PREFERENCES_DATE_FORMAT,
G_CALLBACK(async_data_preference_changed_callback),