From a35fff26e83d1f36bd0027a3b9c701a2094b4a32 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Fri, 19 Jan 2001 04:48:04 +0000 Subject: Keep track of the valid column names (not used right now). 2001-01-18 Miguel de Icaza * e-table-config.c (configure_sort_dialog): Keep track of the valid column names (not used right now). (config_destroy): release column names (entry_changed): Handle invalid input to mean "Next entry is grayed out". * e-table-header-item.c (ethi_popup_customize_view): Hook up to the "apply" signal on the dialog box to apply the changes. (apply_changes): New function to apply the changes from the ETableConfig object. * e-table-sort-info.c (e_table_sort_info_load_from_node): Notify of sort info changes. * e-table-header-item.c: Swapped the way arrows were done, so that they actually match the sorting that its expected. * e-table.c: Added inline documentation for a few methods. * e-table-config.h: Dropped ::spec, and temp_spec, we always use ::source_spec, as we never modify this variable. svn path=/trunk/; revision=7633 --- widgets/table/e-table-config.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'widgets/table/e-table-config.h') diff --git a/widgets/table/e-table-config.h b/widgets/table/e-table-config.h index 06252ab2bc..c66c01f9aa 100644 --- a/widgets/table/e-table-config.h +++ b/widgets/table/e-table-config.h @@ -36,7 +36,7 @@ typedef struct { /* * The state we manipulate */ - ETableSpecification *source_spec, *spec, *temp_spec; + ETableSpecification *source_spec; ETableState *source_state, *state, *temp_state; GtkWidget *sort_label; @@ -44,6 +44,11 @@ typedef struct { GtkWidget *fields_label; ETableConfigSortWidgets sort [4]; + + /* + * List of valid column names + */ + GSList *column_names; } ETableConfig; typedef struct { @@ -58,6 +63,6 @@ ETableConfig *e_table_config_construct (ETableConfig *etco, const char *header, ETableSpecification *spec, ETableState *state); -void e_table_config_raise (ETableConfig *config); +void e_table_config_raise (ETableConfig *config); #endif /* _E_TABLE_CONFIG_H */ -- cgit v1.2.3