From ccd8e1fedde7a29acb5e10ade7e69b9197e65dbe Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 5 May 2000 00:10:32 +0000 Subject: Add an e_table_group_add_all function and implement it in the different 2000-05-04 Christopher James Lahey * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h: Add an e_table_group_add_all function and implement it in the different ETableGroup classes. * e-table-sort-info.c: Make set_nth not call changed twice if it needs to allocate more space. * e-table-sorted-variable.c, e-table-subset-variable.c, e-table-subset-variable.h: Add and implement an e_table_subset_variable_add_all command. * e-table.c: Use e_table_group_add_all as appropriate. Fix ETable grouping xml to work if there is a text element at the bottom of the grouping tree. svn path=/trunk/; revision=2806 --- widgets/table/e-table-group.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/table/e-table-group.h') diff --git a/widgets/table/e-table-group.h b/widgets/table/e-table-group.h index 43d8884a90..573a4f9547 100644 --- a/widgets/table/e-table-group.h +++ b/widgets/table/e-table-group.h @@ -44,6 +44,7 @@ typedef struct { void (*row_selection) (ETableGroup *etg, int row, gboolean selected); void (*add) (ETableGroup *etg, gint row); + void (*add_all) (ETableGroup *etg); gboolean (*remove) (ETableGroup *etg, gint row); gint (*get_count) (ETableGroup *etg); void (*increment) (ETableGroup *etg, gint position, gint amount); @@ -60,6 +61,7 @@ typedef struct { void e_table_group_add (ETableGroup *etg, gint row); +void e_table_group_add_all (ETableGroup *etg); gboolean e_table_group_remove (ETableGroup *etg, gint row); gint e_table_group_get_count (ETableGroup *etg); -- cgit v1.2.3