diff options
author | Miguel de Icaza <miguel@gnu.org> | 2001-01-18 14:47:07 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2001-01-18 14:47:07 +0800 |
commit | cca1d258d390a6e945b2908539e2e73064a890d6 (patch) | |
tree | b99792c54509093506e52b93ad3ce4c8acb938ce /widgets/table/e-table-config.h | |
parent | 04656c360e73801ff0cb7eab6c3bc104cb755e4d (diff) | |
download | gsoc2013-evolution-cca1d258d390a6e945b2908539e2e73064a890d6.tar.gz gsoc2013-evolution-cca1d258d390a6e945b2908539e2e73064a890d6.tar.zst gsoc2013-evolution-cca1d258d390a6e945b2908539e2e73064a890d6.zip |
New function. (update_sort_config_dialog): Massive update to this
2001-01-18 Miguel de Icaza <miguel@gnu.org>
* e-table-config.c (find_model_column_by_name): New function.
(update_sort_config_dialog): Massive update to this function, it
is almost complete now, it just needs a few cosmetic touchups.
(config_sort_config_show): Get the main interaction working as
well.
(config_group_info_update): Beautify.
(entry_changed): Do all the magic for the GUI for entries.
(ascending_toggled): Implement callback.
(configure_sort_dialog): Do also descending.
(configure_sort_dialog): Hook up changed/toggled.
* e-table-config.h: Put all the configuration stuff for sorting
into its own structure to pass around funny functions.
svn path=/trunk/; revision=7617
Diffstat (limited to 'widgets/table/e-table-config.h')
-rw-r--r-- | widgets/table/e-table-config.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/widgets/table/e-table-config.h b/widgets/table/e-table-config.h index fcf6eff9cc..06252ab2bc 100644 --- a/widgets/table/e-table-config.h +++ b/widgets/table/e-table-config.h @@ -14,6 +14,15 @@ #define E_IS_TABLE_CONFIG_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_CONFIG_TYPE)) typedef struct { + GtkComboText *combo; + GtkWidget *frames; + GtkWidget *radio_ascending; + GtkWidget *radio_descending; + guint changed_id, toggled_id; + void *e_table_config; +} ETableConfigSortWidgets; + +typedef struct { GtkObject parent; /* @@ -27,15 +36,14 @@ typedef struct { /* * The state we manipulate */ - ETableSpecification *source_spec, *spec; - ETableState *source_state, *state; + ETableSpecification *source_spec, *spec, *temp_spec; + ETableState *source_state, *state, *temp_state; GtkWidget *sort_label; GtkWidget *group_label; GtkWidget *fields_label; - - GtkComboText *sort_combos [4]; - GtkWidget *frames [4]; + + ETableConfigSortWidgets sort [4]; } ETableConfig; typedef struct { |