summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 14:00:24 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 14:00:24 +0200
commit8e8764286d4a3f65839dfdd4019b4f22fe3eabe4 (patch)
tree5578c080dc56f6698edd565b9313c8d3ce334838 /libcaja-private/caja-directory.c
parentcf3e02237f89593e6e03065ced3af2835e915ee0 (diff)
downloadcaja-8e8764286d4a3f65839dfdd4019b4f22fe3eabe4.tar.bz2
caja-8e8764286d4a3f65839dfdd4019b4f22fe3eabe4.tar.xz
convert date-format to gsettings
add eel_g_settings_add_auto_enum in eel/eel-glib-extensions.c
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 a3bc7fc0..cedd1a59 100644
--- a/libcaja-private/caja-directory.c
+++ b/libcaja-private/caja-directory.c
@@ -337,9 +337,10 @@ add_preferences_callbacks (void)
eel_preferences_add_callback (CAJA_PREFERENCES_SHOW_DIRECTORY_ITEM_COUNTS,
async_data_preference_changed_callback,
NULL);
- eel_preferences_add_callback (CAJA_PREFERENCES_DATE_FORMAT,
- async_data_preference_changed_callback,
- NULL);
+ g_signal_connect_swapped (caja_preferences,
+ "changed::" CAJA_PREFERENCES_DATE_FORMAT,
+ G_CALLBACK(async_data_preference_changed_callback),
+ NULL);
}
/**