aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-tree.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-09-01 16:03:44 +0800
committerChris Lahey <clahey@src.gnome.org>2001-09-01 16:03:44 +0800
commit06eb6e23fb44335ffd747d1257dce6deb9a1d756 (patch)
treee4c025d189c07513c9f93bac25cd9a187e608acd /widgets/table/e-cell-tree.c
parentb529ceb8fe7886c93633295097ab36500d4e8ba1 (diff)
downloadgsoc2013-evolution-06eb6e23fb44335ffd747d1257dce6deb9a1d756.tar
gsoc2013-evolution-06eb6e23fb44335ffd747d1257dce6deb9a1d756.tar.gz
gsoc2013-evolution-06eb6e23fb44335ffd747d1257dce6deb9a1d756.tar.bz2
gsoc2013-evolution-06eb6e23fb44335ffd747d1257dce6deb9a1d756.tar.lz
gsoc2013-evolution-06eb6e23fb44335ffd747d1257dce6deb9a1d756.tar.xz
gsoc2013-evolution-06eb6e23fb44335ffd747d1257dce6deb9a1d756.tar.zst
gsoc2013-evolution-06eb6e23fb44335ffd747d1257dce6deb9a1d756.zip
Rename these functions from ecn_get_text and ecn_free_text.
2001-09-01 Christopher James Lahey <clahey@ximian.com> * e-cell-float.c (ecf_get_text, ecf_free_text): Rename these functions from ecn_get_text and ecn_free_text. * e-cell-tree.c (ect_height): Make sure the height is a multiple of two here. * e-table-header-item.c, e-table-header-item.h: Added a "tree" argument so that the sorting can be set by right clicking on the header item. * e-table-item.c (eti_table_model_rows_deleted): Added some assertions here. * e-tree-selection-model.c (etsm_find_node_unless_equals): Fixed indentation. * e-tree-table-adapter.c (etta_proxy_node_changed): Rewrote this to be more readable. (e_tree_table_adapter_node_set_expanded): Added an assertion. * e-tree.c, e-tree.h (e_tree_get_spec): Added this function. (e_tree_setup_header): Set the tree argument on the ETableHeaderItem here. svn path=/trunk/; revision=12553
Diffstat (limited to 'widgets/table/e-cell-tree.c')
-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 af5997eed1..64af817f9b 100644
--- a/widgets/table/e-cell-tree.c
+++ b/widgets/table/e-cell-tree.c
@@ -396,7 +396,7 @@ ect_height (ECellView *ecell_view, int model_col, int view_col, int row)
{
ECellTreeView *tree_view = (ECellTreeView *) ecell_view;
- return e_cell_height (tree_view->subcell_view, model_col, view_col, row);
+ return (((e_cell_height (tree_view->subcell_view, model_col, view_col, row)) + 1) / 2) * 2;
}
/*