summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nautilus-properties-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 171cb626e..98fae514c 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -3001,8 +3001,8 @@ update_execution_row (GtkWidget *row,
G_CALLBACK (execution_bit_changed),
self);
- gtk_switch_set_state (self->execution_switch,
- target_perm->file_exec_permissions == PERMISSION_EXEC);
+ gtk_switch_set_active (self->execution_switch,
+ target_perm->file_exec_permissions == PERMISSION_EXEC);
g_signal_handlers_unblock_by_func (self->execution_switch,
G_CALLBACK (execution_bit_changed),