aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-state.c
Commit message (Collapse)AuthorAgeFilesLines
* If there are columns allocated, free them upon a destroy.JP Rosevear2000-12-091-2/+3
| | | | | | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * e-table-state.c (etst_destroy): If there are columns allocated, free them upon a destroy. 2000-12-08 JP Rosevear <jpr@helixcode.com> * gal/widgets/e-canvas.c (e_canvas_destroy): Remove my lame "fix" svn path=/trunk/; revision=6884
* Free the xmlDoc when we are done with it. (e_table_state_save_to_file):Federico Mena Quintero2000-12-081-0/+2
| | | | | | | | | | | | | | | | | | 2000-12-07 Federico Mena Quintero <federico@helixcode.com> * e-table-state.c (e_table_state_save_to_string): Free the xmlDoc when we are done with it. (e_table_state_save_to_file): Ditto. * e-table.c (e_table_get_state): Unref the state object; why was it being sunk instead? (e_table_save_state): Ditto. (e_table_load_state): Ditto. (e_table_set_state): Ditto. * e-table-header-item.c (ethi_destroy): Free the ethi->dnd_code. svn path=/trunk/; revision=6837
* Switched to saving the version as a double instead of a string.Christopher James Lahey2000-10-191-1/+1
| | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table-state.c: Switched to saving the version as a double instead of a string. svn path=/trunk/; revision=6019
* Fixed ETableFieldChooser row heights a bit.Christopher James Lahey2000-10-191-0/+2
| | | | | | | | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table-field-chooser-item.c, e-table-field-chooser-item.h: Fixed ETableFieldChooser row heights a bit. * e-table-header-item.c: Formatting clean up. * e-table-state.c: Added saving of the version of the ETableState. This way, if we change the format of an ETableState, we can detect old version numbers. svn path=/trunk/; revision=6016
* NULL is not a valid argument to `xmlNewDoc'. Was this code everEttore Perazzoli2000-10-141-1/+3
| | | | | | tested *at all*? svn path=/trunk/; revision=5899
* Changed these to match the new ETable system.Christopher James Lahey2000-10-111-0/+161
2000-10-11 Christopher James Lahey <clahey@helixcode.com> * tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c: Changed these to match the new ETable system. * gal/Makefile.am: Added e-table-column-specification.lo, e-table-extras.lo, e-table-specification.lo, and e-table-state.lo. From gal/e-table/ChangeLog: 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-column-specification.c, e-table-column-specification.h, e-table-extras.c, e-table-extras.h, e-table-specification.c, e-table-specification.h, e-table-state.c, and e-table-state.h. Removed some duplicated .h files. * e-cell-tree.c: Ref, sink, and unref the subcell instead of destroying it when done. * e-table-column-specification.c, e-table-column-specification.h: New class which describes a column without having a table get instantiated. * e-table-config.c: Changed get_specification to get_state to get this to compile. * e-table-defines.h, e-table-item.h: Moved the definition of ETableCursorMode from e-table-item.h to e-table-defines.h. * e-table-extras.c, e-table-extras.h: New class which acts as a set of 3 hash tables. All from char * and to alternately, ECells, GCompareFuncs, and GdkPxibufs. * e-table-scrolled.c, e-table-scrolled.h: Changed this to match the new ETable function declarations. * e-table-sort-info.c, e-table-sort-info.h: Added functions for saving to and loading from xml. * e-table-specification.c, e-table-specification.h: New class which describes a table without having to instantiate it. * e-table-state.c, e-table-state.h: New class which describes the state of a table without having to instantiate the table. * e-table.c, e-table.h: Changed this to accept both a state and a specification instead of just a specification. You then save only the state. The specification stays exactly the same. Also, you no longer need to pass in an ETableHeader. Most of the information contained in the ETableHeader are in the specification. However you may need to translate some of the strings in the specification to objects. If you need anything other than the builtin choices, you need to create an ETableExtras and pass it in. * e-tree-model.c: Removed an unused variable. svn path=/trunk/; revision=5837