diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-02-22 03:02:32 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-02-22 03:02:32 +0800 |
commit | 4f122d673cbe7cd1e11a951c5dd9f6d5e23431b7 (patch) | |
tree | d7aa42c2b9babc10f770568299c72e95d6821523 /widgets/table/e-table-subset-variable.c | |
parent | 6f4bc53b15da64af3a4eb9c8c24cb216eb83aeab (diff) | |
download | gsoc2013-evolution-4f122d673cbe7cd1e11a951c5dd9f6d5e23431b7.tar gsoc2013-evolution-4f122d673cbe7cd1e11a951c5dd9f6d5e23431b7.tar.gz gsoc2013-evolution-4f122d673cbe7cd1e11a951c5dd9f6d5e23431b7.tar.bz2 gsoc2013-evolution-4f122d673cbe7cd1e11a951c5dd9f6d5e23431b7.tar.lz gsoc2013-evolution-4f122d673cbe7cd1e11a951c5dd9f6d5e23431b7.tar.xz gsoc2013-evolution-4f122d673cbe7cd1e11a951c5dd9f6d5e23431b7.tar.zst gsoc2013-evolution-4f122d673cbe7cd1e11a951c5dd9f6d5e23431b7.zip |
Added e-table-memory-store.lo.
2002-02-21 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added
e-table-memory-store.lo.
From gal/e-table/ChangeLog:
2002-02-21 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (libetable_la_SOURCES): Added
e-table-memory-store.c.
(libetableinclude_HEADERS): Added e-table-memory-store.h.
* e-table-config-no-group.glade, e-table-config.glade: Updated
these.
* e-table-config.c, e-table-config.h: Updated this to have a
working field list editor.
* e-table-memory-store.c, e-table-memory-store.h: New ETableModel
that is a complete store of all the data in your table. No
callbacks at all.
* e-table-subset-variable.c, e-table-subset-variable.h
(e_table_subset_variable_clear): Added this simple function
* e-table-subset.c (etss_get_save_id): Made this return the row
number g_strdup_printfed if the source model doesn't support save
ids.
2002-02-20 Christopher James Lahey <clahey@ximian.com>
* e-table-sorter.c, e-table-sorter.h: Connect to the
model_rows_inserted, model_rows_deleted, and group_info_changed
here.
svn path=/trunk/; revision=15783
Diffstat (limited to 'widgets/table/e-table-subset-variable.c')
-rw-r--r-- | widgets/table/e-table-subset-variable.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/widgets/table/e-table-subset-variable.c b/widgets/table/e-table-subset-variable.c index a55f162bcf..6d298d6050 100644 --- a/widgets/table/e-table-subset-variable.c +++ b/widgets/table/e-table-subset-variable.c @@ -203,6 +203,21 @@ e_table_subset_variable_remove (ETableSubsetVariable *etssv, } void +e_table_subset_variable_clear (ETableSubsetVariable *etssv) +{ + ETableModel *etm = E_TABLE_MODEL(etssv); + ETableSubset *etss = E_TABLE_SUBSET(etssv); + + e_table_model_pre_change (etm); + etss->n_map = 0; + g_free (etss->map_table); + etss->map_table = g_new (unsigned int, 1); + etssv->n_vals_allocated = 1; + + e_table_model_changed (etm); +} + +void e_table_subset_variable_increment (ETableSubsetVariable *etssv, gint position, gint amount) |