aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group-leaf.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-05 08:10:32 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-05 08:10:32 +0800
commitccd8e1fedde7a29acb5e10ade7e69b9197e65dbe (patch)
tree5c5d9b1d535b32aca4eb6926df4e968c2b4bd2ab /widgets/table/e-table-group-leaf.c
parentad3ee0de0244facb7bd2eed03805b68d01022601 (diff)
downloadgsoc2013-evolution-ccd8e1fedde7a29acb5e10ade7e69b9197e65dbe.tar
gsoc2013-evolution-ccd8e1fedde7a29acb5e10ade7e69b9197e65dbe.tar.gz
gsoc2013-evolution-ccd8e1fedde7a29acb5e10ade7e69b9197e65dbe.tar.bz2
gsoc2013-evolution-ccd8e1fedde7a29acb5e10ade7e69b9197e65dbe.tar.lz
gsoc2013-evolution-ccd8e1fedde7a29acb5e10ade7e69b9197e65dbe.tar.xz
gsoc2013-evolution-ccd8e1fedde7a29acb5e10ade7e69b9197e65dbe.tar.zst
gsoc2013-evolution-ccd8e1fedde7a29acb5e10ade7e69b9197e65dbe.zip
Add an e_table_group_add_all function and implement it in the different
2000-05-04 Christopher James Lahey <clahey@helixcode.com> * 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
Diffstat (limited to 'widgets/table/e-table-group-leaf.c')
-rw-r--r--widgets/table/e-table-group-leaf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c
index 54aa3748f3..e39afa7f88 100644
--- a/widgets/table/e-table-group-leaf.c
+++ b/widgets/table/e-table-group-leaf.c
@@ -137,6 +137,13 @@ etgl_add (ETableGroup *etg, gint row)
e_table_subset_variable_add (etgl->subset, row);
}
+static void
+etgl_add_all (ETableGroup *etg)
+{
+ ETableGroupLeaf *etgl = E_TABLE_GROUP_LEAF (etg);
+ e_table_subset_variable_add_all (etgl->subset);
+}
+
static gboolean
etgl_remove (ETableGroup *etg, gint row)
{
@@ -272,6 +279,7 @@ etgl_class_init (GtkObjectClass *object_class)
etgl_parent_class = gtk_type_class (PARENT_TYPE);
e_group_class->add = etgl_add;
+ e_group_class->add_all = etgl_add_all;
e_group_class->remove = etgl_remove;
e_group_class->increment = etgl_increment;
e_group_class->set_focus = etgl_set_focus;