[glade3] * gladeui/glade-design-layout.c: Fixed to not hide widgets when removing them from the layout (no
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3] * gladeui/glade-design-layout.c: Fixed to not hide widgets when removing them from the layout (no
- Date: Sun, 9 Jan 2011 01:36:04 +0000 (UTC)
commit c51357ec48771fdbc5a32363e5f19421a48b691e
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sun Jan 9 10:38:28 2011 +0900
* gladeui/glade-design-layout.c: Fixed to not hide widgets when removing
them from the layout (no longer needed trickery for the toplevel, makes parentless
widget property references work properly).
ChangeLog | 6 ++++++
gladeui/glade-design-layout.c | 5 +----
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 88af9b9..7f8893f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-09 Tristan Van Berkom <tristanvb openismus com>
+
+ * gladeui/glade-design-layout.c: Fixed to not hide widgets when removing
+ them from the layout (no longer needed trickery for the toplevel, makes parentless
+ widget property references work properly).
+
2011-01-08 Tristan Van Berkom <tristanvb openismus com>
* gladeui/glade-utils.[ch], gladeui/glade-widget.c, gladeui/glade-builtins.c,
diff --git a/gladeui/glade-design-layout.c b/gladeui/glade-design-layout.c
index 8ee46ce..551e8e4 100644
--- a/gladeui/glade-design-layout.c
+++ b/gladeui/glade-design-layout.c
@@ -495,10 +495,7 @@ glade_design_layout_add (GtkContainer * container, GtkWidget * widget)
static void
glade_design_layout_remove (GtkContainer * container, GtkWidget * widget)
{
- /* Make sure toplevels dont "pop out" of the workspace */
- gtk_widget_hide (widget);
- GTK_CONTAINER_CLASS (glade_design_layout_parent_class)->remove (container,
- widget);
+ GTK_CONTAINER_CLASS (glade_design_layout_parent_class)->remove (container, widget);
gtk_widget_queue_draw (GTK_WIDGET (container));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]