diff options
author | Tristan Van Berkom <tvb@src.gnome.org> | 2008-03-10 02:19:30 +0000 |
---|---|---|
committer | Tristan Van Berkom <tvb@src.gnome.org> | 2008-03-10 02:19:30 +0000 |
commit | 31e603cd965d7c745771f97b2fbd10e9ff866691 (patch) | |
tree | 9fdd594542c817c239d43d4126d04a2643f004fb | |
parent | 5d5f0b989ada1e8996442867ac5c05fe4f6728eb (diff) | |
download | glade-31e603cd965d7c745771f97b2fbd10e9ff866691.tar.gz |
- Add/Remove parent doesnt dup widgets anymore (bug 517388)
* plugins/gtk+/glade-gtk.c:
- Add/Remove parent doesnt dup widgets anymore (bug 517388)
svn path=/trunk/; revision=1719
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | plugins/gtk+/glade-gtk.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -5,6 +5,7 @@ - Reset "events" property for newly created widgets (workaround for bug 472555). - Added GtkVolumeButton and GtkScaleButton widgets (Ross Burton) + - Add/Remove parent doesnt dup widgets anymore (bug 517388) * plugins/gnome/glade-gnome.c: Fixed some crashes on gnome druid page properties (bug 511651). diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c index cf048c85..9e2de6fc 100644 --- a/plugins/gtk+/glade-gtk.c +++ b/plugins/gtk+/glade-gtk.c @@ -367,7 +367,7 @@ glade_gtk_widget_action_activate (GladeWidgetAdaptor *adaptor, /* Remove "this" widget */ this_widget.data = gwidget; - glade_command_delete (&this_widget); + glade_command_cut (&this_widget); /* Delete the parent */ that_widget.data = gparent; @@ -421,7 +421,7 @@ glade_gtk_widget_action_activate (GladeWidgetAdaptor *adaptor, /* Remove "this" widget */ this_widget.data = gwidget; - glade_command_delete (&this_widget); + glade_command_cut (&this_widget); /* Create new widget and put it where the placeholder was */ that_widget.data = |