[glade/internal-child-support] * gladeui/glade-widget-adaptor.c, plugins/gtk+/gtk+.xml.in: Declare treeview's internal selectio



commit a2e5c8a0a20320aa287499e23ba843ffb1f8a6f0
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Tue Apr 5 01:50:10 2011 +0900

    	* gladeui/glade-widget-adaptor.c, plugins/gtk+/gtk+.xml.in: Declare treeview's internal
    	  selection as 'anarchist'.

 ChangeLog                      |    3 +++
 gladeui/glade-widget-adaptor.c |    2 +-
 plugins/gtk+/gtk+.xml.in       |    2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3282c4f..6546d9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,9 @@
 	* plugins/gtk+/glade-gtk.c: Make h/vexpand properties 'needs-sync', fixes GtkDialog's
 	  showing up with expanding action area (due to placeholders needing to expand).
 
+	* gladeui/glade-widget-adaptor.c, plugins/gtk+/gtk+.xml.in: Declare treeview's internal
+	  selection as 'anarchist'.
+
 2011-04-03  Cosimo Cecchi <cosimoc gnome org>
 	* doc/Makefile.am: don't use gtk+-2.0 for scanning the docs
 
diff --git a/gladeui/glade-widget-adaptor.c b/gladeui/glade-widget-adaptor.c
index f899182..f3191f8 100644
--- a/gladeui/glade-widget-adaptor.c
+++ b/gladeui/glade-widget-adaptor.c
@@ -2335,7 +2335,7 @@ gwa_internal_children_update_from_node (GList *internal_children, GladeXmlNode *
 
       if ((data = gwa_internal_child_find (retval, name)) == NULL)
         {
-          gboolean anarchist = glade_xml_get_boolean (child, GLADE_TAG_ANARCHIST, FALSE);
+          gboolean anarchist = glade_xml_get_property_boolean (child, GLADE_TAG_ANARCHIST, FALSE);
           data = gwa_internal_children_new (name, anarchist);
           retval = g_list_prepend (retval, data);
         }
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index e9e8e5d..3676ebf 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -2214,7 +2214,7 @@ embedded in another object</_tooltip>
       </actions>
 
       <internal-children>
-        <object name="selection"/>
+        <object name="selection" anarchist="True"/>
       </internal-children>
 
       <properties>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]