[gnome-builder] utilities: always update button state



commit 60c7694f1af151ab1047bb92ef11d148f617a378
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jan 5 20:16:06 2018 -0800

    utilities: always update button state

 src/libide/editor/ide-editor-utilities.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-utilities.c b/src/libide/editor/ide-editor-utilities.c
index 22b98a6..b2fa67d 100644
--- a/src/libide/editor/ide-editor-utilities.c
+++ b/src/libide/editor/ide-editor-utilities.c
@@ -79,11 +79,11 @@ ide_editor_utilities_add (GtkContainer *container,
                                "title", title,
                                "icon-name", icon_name,
                                NULL);
-
-      gtk_container_foreach (GTK_CONTAINER (self->stack_switcher),
-                             tweak_radio_button,
-                             NULL);
     }
+
+  gtk_container_foreach (GTK_CONTAINER (self->stack_switcher),
+                         tweak_radio_button,
+                         NULL);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]