aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-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-tree.c
parentb529ceb8fe7886c93633295097ab36500d4e8ba1 (diff)
downloadgsoc2013-evolution-06eb6e23fb44335ffd747d1257dce6deb9a1d756.tar.gz
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-tree.c')
-rw-r--r--widgets/table/e-tree.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 568574f98f..d48773eb95 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -418,7 +418,7 @@ e_tree_setup_header (ETree *e_tree)
"full_header", e_tree->priv->full_header,
"sort_info", e_tree->priv->sort_info,
"dnd_code", pointer,
- /* "table", e_tree, FIXME*/
+ "tree", e_tree,
NULL);
g_free(pointer);
@@ -914,6 +914,12 @@ e_tree_save_state (ETree *e_tree,
gtk_object_unref(GTK_OBJECT(state));
}
+ETableSpecification *
+e_tree_get_spec (ETree *e_tree)
+{
+ return e_tree->priv->spec;
+}
+
static void
et_table_model_changed (ETableModel *model, ETree *et)
{