summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 16:48:07 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 16:48:07 +0200
commit46925062b04255e723ff931ac82aefda9cfc516d (patch)
treefa84d02512e584fdbf73f34d5d1ea999cefa169f /libcaja-private/caja-directory.c
parentf0ca3e5a0329fa0c4a2fe5b6b941e660b547e113 (diff)
downloadcaja-46925062b04255e723ff931ac82aefda9cfc516d.tar.bz2
caja-46925062b04255e723ff931ac82aefda9cfc516d.tar.xz
convert show-text-in-icons 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 cedd1a59..2318e409 100644
--- a/libcaja-private/caja-directory.c
+++ b/libcaja-private/caja-directory.c
@@ -331,9 +331,10 @@ add_preferences_callbacks (void)
"changed::" CAJA_PREFERENCES_SHOW_HIDDEN_FILES,
G_CALLBACK(filtering_changed_callback),
NULL);
- eel_preferences_add_callback (CAJA_PREFERENCES_SHOW_TEXT_IN_ICONS,
- async_data_preference_changed_callback,
- NULL);
+ g_signal_connect_swapped (caja_preferences,
+ "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);