diff options
author | Denis Washington <denisw@src.gnome.org> | 2012-01-17 19:30:21 +0100 |
---|---|---|
committer | Denis Washington <denisw@src.gnome.org> | 2012-01-17 19:30:21 +0100 |
commit | 72ceb68b79fc1bd2a34f261169f44be1033a8e9a (patch) | |
tree | c204244425084c6460e3f03a66bcedea37acf173 /plugins/gtk+/glade-tool-item-group-editor.c | |
parent | aa4bf12f62d914ad53378bf78d112e0fffd574ad (diff) | |
download | glade-gbinding.tar.gz |
Call glade_property_invalidate() properly in all GTK+ widget property editorsgbinding
Every situation where the user disables a property through the inspector should
now correctly unbind any dependent bound properties, which fixes the last known
major bug in the property binding code!
Diffstat (limited to 'plugins/gtk+/glade-tool-item-group-editor.c')
-rw-r--r-- | plugins/gtk+/glade-tool-item-group-editor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gtk+/glade-tool-item-group-editor.c b/plugins/gtk+/glade-tool-item-group-editor.c index c8678a6e..1703df07 100644 --- a/plugins/gtk+/glade-tool-item-group-editor.c +++ b/plugins/gtk+/glade-tool-item-group-editor.c @@ -151,6 +151,7 @@ label_toggled (GtkWidget * widget, glade_widget_get_name (gwidget)); property = glade_widget_get_property (gwidget, "label-widget"); + glade_command_invalidate (property); glade_command_set_property (property, NULL); property = glade_widget_get_property (gwidget, "label"); @@ -187,6 +188,7 @@ label_widget_toggled (GtkWidget * widget, GladeToolItemGroupEditor * group_edito glade_widget_get_name (gwidget)); property = glade_widget_get_property (gwidget, "label"); + glade_command_invalidate (property); glade_command_set_property (property, NULL); property = glade_widget_get_property (gwidget, "custom-label"); glade_command_set_property (property, TRUE); |