aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-cell-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-cell-tree.c')
-rw-r--r--widgets/e-table/e-cell-tree.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/widgets/e-table/e-cell-tree.c b/widgets/e-table/e-cell-tree.c
index 61c86fad2d..2d1a006fdb 100644
--- a/widgets/e-table/e-cell-tree.c
+++ b/widgets/e-table/e-cell-tree.c
@@ -178,10 +178,7 @@ ect_draw (ECellView *ecell_view, GdkDrawable *drawable,
expanded = e_tree_model_node_is_expanded (tree_model, node);
subcell_offset = offset;
- if (expanded)
- node_image = e_tree_model_node_get_opened_pixbuf (tree_model, node);
- else
- node_image = e_tree_model_node_get_closed_pixbuf (tree_model, node);
+ node_image = e_tree_model_icon_of_node (tree_model, node);
if (node_image) {
node_image_width = gdk_pixbuf_get_width (node_image);