diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-10-05 17:17:22 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-10-05 17:17:22 -0400 |
commit | d2bcae583c784df9accf919338e011aa04c1ebbb (patch) | |
tree | 580371600520d6912bd7d8c68aa5dc0dd4eb2a1f | |
parent | 3d08e35b8c2a30d5a739e165f62a4b1fcb072cc5 (diff) | |
download | glade-d2bcae583c784df9accf919338e011aa04c1ebbb.tar.gz |
* plugins/gtk+/glade-gtk-grid.c: Update placeholders when a grid child's
width or height child properties change.
-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 |