aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-23 22:16:48 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-23 22:16:48 +0800
commitb2eca3f495fd0b991c164833e3a1d876c3c5dc37 (patch)
tree0759a3e44c6537c1adfe7c97d0658ce6766850b4 /widgets/table
parent9d60730c25cb438f31a958d37d06d163e1daae0a (diff)
downloadgsoc2013-evolution-b2eca3f495fd0b991c164833e3a1d876c3c5dc37.tar.gz
gsoc2013-evolution-b2eca3f495fd0b991c164833e3a1d876c3c5dc37.tar.zst
gsoc2013-evolution-b2eca3f495fd0b991c164833e3a1d876c3c5dc37.zip
Bug #248745 - Indent single mail in a threaded view too
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-cell-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-cell-tree.c b/widgets/table/e-cell-tree.c
index a22cf6d04b..0a1f433e6e 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 {