aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-10-01 00:24:40 +0800
committerMilan Crha <mcrha@redhat.com>2013-10-01 00:24:40 +0800
commit69e3c86c0416a1c2b3cefc2db853e2fd3438e5fa (patch)
tree29abfde4102f7ae11e22d15b666ee90ea69985fe /e-util
parentcaef69cb73071bfebb1f8a25f60b88111c2a9f10 (diff)
downloadgsoc2013-evolution-69e3c86c0416a1c2b3cefc2db853e2fd3438e5fa.tar
gsoc2013-evolution-69e3c86c0416a1c2b3cefc2db853e2fd3438e5fa.tar.gz
gsoc2013-evolution-69e3c86c0416a1c2b3cefc2db853e2fd3438e5fa.tar.bz2
gsoc2013-evolution-69e3c86c0416a1c2b3cefc2db853e2fd3438e5fa.tar.lz
gsoc2013-evolution-69e3c86c0416a1c2b3cefc2db853e2fd3438e5fa.tar.xz
gsoc2013-evolution-69e3c86c0416a1c2b3cefc2db853e2fd3438e5fa.tar.zst
gsoc2013-evolution-69e3c86c0416a1c2b3cefc2db853e2fd3438e5fa.zip
Bug #708682 - Move with 'End' key with collapsed threads fails
This reverts part of commit 452638466217dbfef0c0954c90aa7cb03cf91452
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree-selection-model.c7
1 files changed, 1 insertions, 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