diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-10-26 19:48:53 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-10-26 19:48:53 +0800 |
commit | b0ab0a15e0e0971dd276390a56e8ba36422dfa94 (patch) | |
tree | 13428633cd4a41363e1a0250b62b26663cf3f372 /widgets/table/e-table.c | |
parent | 15555e2bdb97cddf4ca9e14d52f50999f60ba38e (diff) | |
download | gsoc2013-evolution-b0ab0a15e0e0971dd276390a56e8ba36422dfa94.tar.gz gsoc2013-evolution-b0ab0a15e0e0971dd276390a56e8ba36422dfa94.tar.zst gsoc2013-evolution-b0ab0a15e0e0971dd276390a56e8ba36422dfa94.zip |
Document allow-grouping attribute.
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* docs/etablexml.txt: Document allow-grouping attribute.
* tests/test-table-1.c (SPEC): Updated this to test the
allow_grouping=\"false\" attribute.
From gal/e-table/ChangeLog:
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* e-table-config.c (config_group_info_update,
config_fields_info_update): Added some checks for NULL labels
here.
* e-table-specification.c, e-table-specification.h: Added
allow_grouping field. Fixes Ximian bug #13412.
* e-table.c, e-table.h: Added allow_grouping field. Set this
field for the sort infos from state objects.
svn path=/trunk/; revision=14134
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r-- | widgets/table/e-table.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 04e6c57e03..9da76869b4 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -896,6 +896,7 @@ e_table_set_state_object(ETable *e_table, ETableState *state) } if (state->sort_info) { e_table->sort_info = e_table_sort_info_duplicate(state->sort_info); + e_table_sort_info_set_can_group (e_table->sort_info, e_table->allow_grouping); e_table->group_info_change_id = gtk_signal_connect (GTK_OBJECT (e_table->sort_info), "group_info_changed", @@ -1087,9 +1088,11 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete, e_table->header = e_table_state_to_header (GTK_WIDGET(e_table), e_table->full_header, state); e_table->horizontal_scrolling = specification->horizontal_scrolling; + e_table->allow_grouping = specification->allow_grouping; e_table->sort_info = state->sort_info; gtk_object_ref (GTK_OBJECT (state->sort_info)); + e_table_sort_info_set_can_group (e_table->sort_info, e_table->allow_grouping); e_table->group_info_change_id = gtk_signal_connect (GTK_OBJECT (e_table->sort_info), "group_info_changed", |