--- epiphany-2.16.1/lib/widgets/ephy-node-view.c	2006-09-13 06:48:49.000000000 -0500
+++ epiphany-2.16.1d/lib/widgets/ephy-node-view.c	2006-10-08 18:39:31.000000000 -0500
@@ -159,16 +159,18 @@
 get_node_from_path (EphyNodeView *view, GtkTreePath *path)
 {
 	EphyNode *node;
-	GtkTreeIter iter, iter2;
+	GtkTreeIter iter, iter2, iter3;
 
 	if (path == NULL) return NULL;
 
 	gtk_tree_model_get_iter (view->priv->sortmodel, &iter, path);
 	gtk_tree_model_sort_convert_iter_to_child_iter
 		(GTK_TREE_MODEL_SORT (view->priv->sortmodel), &iter2, &iter);
+	g_print("get_node_from_path\n");
 	gtk_tree_model_filter_convert_iter_to_child_iter
-		(GTK_TREE_MODEL_FILTER (view->priv->filtermodel), &iter, &iter2);
-	node = ephy_tree_model_node_node_from_iter (view->priv->nodemodel, &iter);
+		(GTK_TREE_MODEL_FILTER (view->priv->filtermodel), &iter3, &iter2);
+	g_print("get_node_from_path yet alive\n");
+	node = ephy_tree_model_node_node_from_iter (view->priv->nodemodel, &iter3);
 
 	return node;
 }
@@ -534,6 +536,7 @@
 	gtk_tree_model_get_iter (view->priv->sortmodel, &iter, path);
 	gtk_tree_model_sort_convert_iter_to_child_iter
 		(GTK_TREE_MODEL_SORT (view->priv->sortmodel), &iter2, &iter);
+	g_print("ephy_node_view_row_activated_cb\n");
 	gtk_tree_model_filter_convert_iter_to_child_iter
 		(GTK_TREE_MODEL_FILTER (view->priv->filtermodel), &iter, &iter2);
 
@@ -555,6 +558,7 @@
 	gtk_tree_model_get_iter (view->priv->sortmodel, &iter, path);
 	gtk_tree_model_sort_convert_iter_to_child_iter
 		(GTK_TREE_MODEL_SORT (view->priv->sortmodel), &iter2, &iter);
+	g_print("path_toggled\n");
 	gtk_tree_model_filter_convert_iter_to_child_iter
 		(GTK_TREE_MODEL_FILTER (view->priv->filtermodel), &iter, &iter2);
 
@@ -974,6 +978,7 @@
 	gtk_tree_model_get_iter (view->priv->sortmodel, &iter, path);
 	gtk_tree_model_sort_convert_iter_to_child_iter
 		(GTK_TREE_MODEL_SORT (view->priv->sortmodel), &iter2, &iter);
+        g_print("cell_renderer_edited\n");
 	gtk_tree_model_filter_convert_iter_to_child_iter
 		(GTK_TREE_MODEL_FILTER (view->priv->filtermodel), &iter, &iter2);
 	node = ephy_tree_model_node_node_from_iter (view->priv->nodemodel, &iter);
@@ -1347,9 +1352,10 @@
 	EphyNodeView *view = EPHY_NODE_VIEW (data[1]);
 	EphyNode *node;
 
+        g_print("get_selection\n");
 	node = get_node_from_path (view, path);
-
 	*list = g_list_prepend (*list, node);
+        g_print("get_selection still alive, returning a list of: %d elements \n", g_list_length(*list));
 }
 
 GList *
@@ -1377,7 +1383,7 @@
 	EphyNodeViewPrivate *priv = view->priv;
 	GList *list, *l;
 	EphyNode *node;
-	GtkTreeIter iter, iter2;
+	GtkTreeIter iter, iter2, iter3;
 	GtkTreePath *path;
 	GtkTreeRowReference *row_ref = NULL;
 	GtkTreeSelection *selection;
@@ -1392,9 +1398,14 @@
 
 	node = g_list_first (list)->data;
 	ephy_tree_model_node_iter_from_node (EPHY_TREE_MODEL_NODE (view->priv->nodemodel),
-					     node, &iter);
-	gtk_tree_model_filter_convert_child_iter_to_iter (GTK_TREE_MODEL_FILTER (view->priv->filtermodel),
-							  &iter2, &iter);
+					     node, &iter3);
+        g_print("ephy_node_view_remove\n");
+	if(!gtk_tree_model_filter_convert_child_iter_to_iter (GTK_TREE_MODEL_FILTER (view->priv->filtermodel),
+							  &iter2, &iter3)) {
+                g_print("iter NO es un iterador valido\n");
+        } else {
+                g_print("iter era valido!\n");
+        }
 	gtk_tree_model_sort_convert_child_iter_to_iter (GTK_TREE_MODEL_SORT (view->priv->sortmodel),
 							&iter, &iter2);
 	iter2 = iter;
@@ -1416,8 +1427,10 @@
 
 	/* Work around bug #346662 */
 	priv->changing_selection = TRUE;
-	for (l = list; l != NULL; l = l->next)
+        g_print("borrando %d elementos\n", g_list_length(list));
+	for (l = list; l; l = l->next)
 	{
+                g_print("DEAD SHIT\n");
 		ephy_node_unref (l->data);
 	}
 	priv->changing_selection = FALSE;
@@ -1454,7 +1467,8 @@
 
 	ephy_tree_model_node_iter_from_node (EPHY_TREE_MODEL_NODE (view->priv->nodemodel),
 					     node, &iter);
-	gtk_tree_model_filter_convert_child_iter_to_iter (GTK_TREE_MODEL_FILTER (view->priv->filtermodel),
+	g_print("ephy_node_view_select_node\n");
+        gtk_tree_model_filter_convert_child_iter_to_iter (GTK_TREE_MODEL_FILTER (view->priv->filtermodel),
 							  &iter2, &iter);
 	gtk_tree_model_sort_convert_child_iter_to_iter (GTK_TREE_MODEL_SORT (view->priv->sortmodel),
 							&iter, &iter2);
