aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>2001-01-19 12:48:04 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2001-01-19 12:48:04 +0800
commita35fff26e83d1f36bd0027a3b9c701a2094b4a32 (patch)
treea6a446ed2dd6d16aadc4dd19c6702789e0a6ba01 /widgets/table/e-table-config.h
parent26f5efce64c121c990c3247e03b09df982c59385 (diff)
downloadgsoc2013-evolution-a35fff26e83d1f36bd0027a3b9c701a2094b4a32.tar.gz
gsoc2013-evolution-a35fff26e83d1f36bd0027a3b9c701a2094b4a32.tar.zst
gsoc2013-evolution-a35fff26e83d1f36bd0027a3b9c701a2094b4a32.zip
Keep track of the valid column names (not used right now).
2001-01-18 Miguel de Icaza <miguel@gnu.org> * 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
Diffstat (limited to 'widgets/table/e-table-config.h')
-rw-r--r--widgets/table/e-table-config.h9
1 files changed, 7 insertions, 2 deletions
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 */