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-subset-variable.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'widgets/table/e-table-subset-variable.h') diff --git a/widgets/table/e-table-subset-variable.h b/widgets/table/e-table-subset-variable.h index 8ac0af0382..da932e6c05 100644 --- a/widgets/table/e-table-subset-variable.h +++ b/widgets/table/e-table-subset-variable.h @@ -20,10 +20,11 @@ typedef struct { typedef struct { ETableSubsetClass parent_class; - void (*add) (ETableSubsetVariable *ets, - gint row); - gboolean (*remove) (ETableSubsetVariable *ets, - gint row); + void (*add) (ETableSubsetVariable *ets, + gint row); + void (*add_all) (ETableSubsetVariable *ets); + gboolean (*remove) (ETableSubsetVariable *ets, + gint row); } ETableSubsetVariableClass; GtkType e_table_subset_variable_get_type (void); @@ -32,6 +33,7 @@ ETableModel *e_table_subset_variable_construct (ETableSubsetVariable *etssv, ETableModel *source); void e_table_subset_variable_add (ETableSubsetVariable *ets, gint row); +void e_table_subset_variable_add_all (ETableSubsetVariable *ets); gboolean e_table_subset_variable_remove (ETableSubsetVariable *ets, gint row); void e_table_subset_variable_increment (ETableSubsetVariable *ets, -- cgit