diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | plugins/gtk+/glade-gtk-grid.c | 9 |
2 files changed, 9 insertions, 5 deletions
@@ -1,3 +1,8 @@ +2011-10-05 Tristan Van Berkom <tvb@gnome.org> + + * plugins/gtk+/glade-gtk-grid.c: Update placeholders when a grid child's + width or height child properties change. + 2011-10-04 Tristan Van Berkom <tvb@gnome.org> * plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Ensure 'related-action' diff --git a/plugins/gtk+/glade-gtk-grid.c b/plugins/gtk+/glade-gtk-grid.c index c15540b9..b8a247a1 100644 --- a/plugins/gtk+/glade-gtk-grid.c +++ b/plugins/gtk+/glade-gtk-grid.c @@ -693,15 +693,14 @@ glade_gtk_grid_set_child_property (GladeWidgetAdaptor * adaptor, container, child, property_name, value); - if (strcmp (property_name, "bottom-attach") == 0 || - strcmp (property_name, "left-attach") == 0 || - strcmp (property_name, "right-attach") == 0 || - strcmp (property_name, "top-attach") == 0) + if (strcmp (property_name, "left-attach") == 0 || + strcmp (property_name, "top-attach") == 0 || + strcmp (property_name, "width") == 0 || + strcmp (property_name, "height") == 0) { /* Refresh placeholders */ glade_gtk_grid_refresh_placeholders (GTK_GRID (container)); } - } static gboolean |