summaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2006-08-10 03:23:17 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2006-08-10 03:23:17 +0000
commit99c063d109c54d522733f74085068a2dc06b70be (patch)
treebed9d031865a3e19da6b8dd1a37f1565c502cc56 /widgets
parent5ea548603a361380b7b5ac46f7651bff3cc3f0f2 (diff)
downloadglade-99c063d109c54d522733f74085068a2dc06b70be.tar.gz
Now check if placeholders are GTK_WIDGET_MAPPED() before returning them,
* src/glade-utils.c: Now check if placeholders are GTK_WIDGET_MAPPED() before returning them, since placeholders "overlap" inside notebooks. * src/glade-command.c: bookkeeping on "special-child-type" for cut/copy/paste consistancy. * src/glade-gtk.c, widgets/gtk+.xml.in: Tons of code added to manage notebooks. * src/glade-widget.c: Change the order of an if statement (avoid comparing irrelevent memory).
Diffstat (limited to 'widgets')
-rw-r--r--widgets/gtk+.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/gtk+.xml.in b/widgets/gtk+.xml.in
index c0db7987..2630c133 100644
--- a/widgets/gtk+.xml.in
+++ b/widgets/gtk+.xml.in
@@ -861,7 +861,10 @@
<type>GtkWidget</type>
<special-child-type>type</special-child-type>
<add-child-function>glade_gtk_notebook_add_child</add-child-function>
+ <remove-child-function>glade_gtk_notebook_remove_child</remove-child-function>
<replace-child-function>glade_gtk_notebook_replace_child</replace-child-function>
+ <child-set-property-function>glade_gtk_notebook_set_child_property</child-set-property-function>
+ <child-get-property-function>glade_gtk_notebook_get_child_property</child-get-property-function>
<properties>
<property id="tab-label" disabled="True"/>
<property id="tab-pack">