[glade/glade-3-16] Fixed Bug 652655 "Setting entry on combobox moves the widget"



commit edc0aa2368f9eda676d9ff1f33900bc5a7159b4b
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Mon Sep 9 17:25:51 2013 -0300

    Fixed Bug 652655 "Setting entry on combobox moves the widget"

 plugins/gtk+/glade-gtk-box.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk-box.c b/plugins/gtk+/glade-gtk-box.c
index 36d67e1..d41304a 100644
--- a/plugins/gtk+/glade-gtk-box.c
+++ b/plugins/gtk+/glade-gtk-box.c
@@ -447,6 +447,9 @@ glade_gtk_box_add_child (GladeWidgetAdaptor * adaptor,
 
   gtk_container_add (GTK_CONTAINER (object), GTK_WIDGET (child));
 
+  if (glade_widget_superuser ())
+    return;
+
   children = gtk_container_get_children (GTK_CONTAINER (object));
   num_children = g_list_length (children);
   g_list_free (children);


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