summaryrefslogtreecommitdiff
path: root/thunar/thunar-column-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'thunar/thunar-column-editor.c')
-rw-r--r--thunar/thunar-column-editor.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/thunar/thunar-column-editor.c b/thunar/thunar-column-editor.c
index b321d528..f165eb5b 100644
--- a/thunar/thunar-column-editor.c
+++ b/thunar/thunar-column-editor.c
@@ -259,7 +259,11 @@ thunar_column_editor_init (ThunarColumnEditor *column_editor)
/* create the "Automatically expand columns as needed" button */
button = gtk_check_button_new_with_mnemonic (_("Automatically _expand columns as needed"));
- exo_mutual_binding_new_with_negation (G_OBJECT (column_editor->preferences), "last-details-view-fixed-columns", G_OBJECT (button), "active");
+ g_object_bind_property (G_OBJECT (column_editor->preferences), "last-details-view-fixed-columns",
+ G_OBJECT (button), "active",
+ G_BINDING_BIDIRECTIONAL
+ | G_BINDING_SYNC_CREATE
+ | G_BINDING_INVERT_BOOLEAN);
gtk_table_attach (GTK_TABLE (table), button, 0, 1, 1, 2, GTK_FILL, GTK_FILL, 0, 0);
thunar_gtk_label_set_a11y_relation (GTK_LABEL (label), button);
gtk_widget_show (button);