From 1964f9294b204441e8d8216d720cc97ad39d3f7b Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 30 Sep 2013 18:24:40 +0200 Subject: Bug #708682 - Move with 'End' key with collapsed threads fails This reverts part of commit 452638466217dbfef0c0954c90aa7cb03cf91452 --- e-util/e-tree-selection-model.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/e-util/e-tree-selection-model.c b/e-util/e-tree-selection-model.c index 3ec676bf82..942f33a659 100644 --- a/e-util/e-tree-selection-model.c +++ b/e-util/e-tree-selection-model.c @@ -489,12 +489,7 @@ tree_selection_model_row_count (ESelectionModel *selection) { ETreeSelectionModel *etsm = E_TREE_SELECTION_MODEL (selection); - /* We want to return the true row count, including collapsed rows. - * ETreeTableAdapter pretends that collapsed rows don't exist and - * will return a false count (for our purpose), so instead we ask - * the ETreeModel directly. */ - - return e_tree_model_node_get_n_nodes (etsm->priv->model); + return e_table_model_row_count (E_TABLE_MODEL (etsm->priv->etta)); } static void -- cgit v1.2.3