glade3 r1716 - in trunk: . gladeui



Author: tvb
Date: Mon Mar 10 00:30:04 2008
New Revision: 1716
URL: http://svn.gnome.org/viewvc/glade3?rev=1716&view=rev

Log:
	
	* gladeui/glade-editor-property.c: 
	  - Fixed treeview issues with objects dialog, fixing the
	    atk relations bug 512081.



Modified:
   trunk/ChangeLog
   trunk/gladeui/glade-builtins.c
   trunk/gladeui/glade-editor-property.c

Modified: trunk/gladeui/glade-builtins.c
==============================================================================
--- trunk/gladeui/glade-builtins.c	(original)
+++ trunk/gladeui/glade-builtins.c	Mon Mar 10 00:30:04 2008
@@ -514,6 +514,8 @@
 			 g_type_is_a (G_OBJECT_TYPE (object), 
 				      ospec->type) == FALSE)
 			toremove = g_list_prepend (toremove, object);
+		
+
 	}
 
 	for (list = toremove; list; list = list->next)

Modified: trunk/gladeui/glade-editor-property.c
==============================================================================
--- trunk/gladeui/glade-editor-property.c	(original)
+++ trunk/gladeui/glade-editor-property.c	Mon Mar 10 00:30:04 2008
@@ -2317,10 +2317,15 @@
 					 glade_param_spec_objects_get_type 
 					 (GLADE_PARAM_SPEC_OBJECTS(eprop->klass->pspec)));
 				good_type = 
+					g_type_is_a
+					(widget->adaptor->type,
+					 glade_param_spec_objects_get_type 
+					 (GLADE_PARAM_SPEC_OBJECTS(eprop->klass->pspec))) ||
 					glade_util_class_implements_interface
 					(widget->adaptor->type, 
 					 glade_param_spec_objects_get_type 
 					 (GLADE_PARAM_SPEC_OBJECTS(eprop->klass->pspec)));
+
 			}
 			else
 			{
@@ -2435,6 +2440,7 @@
 
 	radio = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (model), "radio-list"));
 
+
 	gtk_tree_model_get_iter (model, &iter, path);
 	gtk_tree_model_get (model, &iter,
 			    OBJ_COLUMN_SELECTED,  &enabled, -1);
@@ -2771,8 +2777,11 @@
 			    OBJ_COLUMN_SELECTED,  &selected, 
 			    OBJ_COLUMN_WIDGET,    &widget, -1);
 
+
 	if (selected) 
+	{
 		*ret = g_list_append (*ret, widget->object);
+	}
 
 	return FALSE;
 }



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