[evolution] Bug #248745 - Indent single mail in a threaded view too



commit b2eca3f495fd0b991c164833e3a1d876c3c5dc37
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 23 16:16:48 2009 +0200

    Bug #248745 - Indent single mail in a threaded view too

 widgets/table/e-cell-tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/widgets/table/e-cell-tree.c b/widgets/table/e-cell-tree.c
index a22cf6d..0a1f433 100644
--- a/widgets/table/e-cell-tree.c
+++ b/widgets/table/e-cell-tree.c
@@ -110,7 +110,7 @@ offset_of_node (ETableModel *table_model, gint row)
 	ETreeModel *tree_model = e_cell_tree_get_tree_model(table_model, row);
 	ETreePath path = e_cell_tree_get_node(table_model, row);
 
-	if (visible_depth_of_node (table_model, row) > 0 ||
+	if (visible_depth_of_node (table_model, row) >= 0 ||
 	    e_tree_model_node_is_expandable(tree_model, path)) {
 		return (visible_depth_of_node(table_model, row) + 1) * INDENT_AMOUNT;
 	} else {



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