diff options
author | Mike Kestner <mkestner@ximian.com> | 2003-04-21 22:18:58 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2003-04-21 22:18:58 +0800 |
commit | 1eba3d38e0be4aa0df3878098a88b507226aca23 (patch) | |
tree | e58e95b8891c657c01106738edc1aba0f770748d /widgets/table/e-tree-table-adapter.c | |
parent | feda331c16630204c5eeb3f022fc218c64abeb76 (diff) | |
download | gsoc2013-evolution-1eba3d38e0be4aa0df3878098a88b507226aca23.tar.gz gsoc2013-evolution-1eba3d38e0be4aa0df3878098a88b507226aca23.tar.zst gsoc2013-evolution-1eba3d38e0be4aa0df3878098a88b507226aca23.zip |
use e_tree_table_adapter_node_get_next to determine how to draw sibling
2003-04-21 Mike Kestner <mkestner@ximian.com>
* e-cell-tree.c (ect_draw): use e_tree_table_adapter_node_get_next
to determine how to draw sibling lines.
(ect_print): ditto
* e-tree-table-adapter.c (e_t_t_a_node_get_next): new
svn path=/trunk/; revision=20902
Diffstat (limited to 'widgets/table/e-tree-table-adapter.c')
-rw-r--r-- | widgets/table/e-tree-table-adapter.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c index 8b041eb53c..9264d35fd2 100644 --- a/widgets/table/e-tree-table-adapter.c +++ b/widgets/table/e-tree-table-adapter.c @@ -1154,3 +1154,13 @@ e_tree_table_adapter_set_sort_info (ETreeTableAdapter *etta, ETableSortInfo *sor e_table_model_changed(E_TABLE_MODEL(etta)); } +ETreePath +e_tree_table_adapter_node_get_next (ETreeTableAdapter *etta, ETreePath path) +{ + GNode *node = lookup_gnode (etta, path); + + if (node && node->next) + return ((node_t *)node->next->data)->path; + + return NULL; +} |