diff options
Diffstat (limited to 'libcaja-private/caja-directory.c')
-rw-r--r-- | libcaja-private/caja-directory.c | 7 |
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), |