summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2008-03-10 02:19:30 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2008-03-10 02:19:30 +0000
commit31e603cd965d7c745771f97b2fbd10e9ff866691 (patch)
tree9fdd594542c817c239d43d4126d04a2643f004fb
parent5d5f0b989ada1e8996442867ac5c05fe4f6728eb (diff)
downloadglade-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--ChangeLog1
-rw-r--r--plugins/gtk+/glade-gtk.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ba88d28f..0a247d3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 =