aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-sorter.c
Commit message (Collapse)AuthorAgeFilesLines
* Make some private variables static in `ETableSorter'.Ettore Perazzoli2001-02-061-4/+4
| | | | svn path=/trunk/; revision=7982
* Rename from Helix Code -> XimianMiguel de Icaza2001-01-161-1/+1
| | | | svn path=/trunk/; revision=7520
* Fixed sorting. needs_sorting was getting set to 0 when sorted happens, butChristopher James Lahey2001-01-061-30/+2
| | | | | | | | | | | | 2001-01-06 Christopher James Lahey <clahey@helixcode.com> * e-table-sorter.c, e-table-sorter.h (ets_sort): Fixed sorting. needs_sorting was getting set to 0 when sorted happens, but needs_sorting tells you whether or not the sorter is sorted or not, not whether the sorting has happened. Documented the needs_sorting variable. svn path=/trunk/; revision=7281
* Set the minimum width of newly created children.Christopher James Lahey2000-12-191-3/+2
| | | | | | | | | | | | | | | | | | | | | 2000-12-19 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c (etgc_add): Set the minimum width of newly created children. (e_table_group_container_construct): Use function e_table_header_get_column_by_col_idx instead of e_table_header_get_column since we're passing in a col_idx. * e-table-header.c, e-table-header.h: New function e_table_header_get_column_by_col_idx which searches for a column in the ETableHeader with a certain model column (col_idx). * e-table-sorted-variable.c (etsv_compare), (etsv_sort), e-table-sorter.c (ets_sort): Use function e_table_header_get_column_by_col_idx instead of e_table_header_get_column since we're passing in a col_idx. svn path=/trunk/; revision=7079
* cut&paste from e-table-sorted-variable.c and massage names a bit to makeChris Toshok2000-12-141-1/+208
| | | | | | | | | | | | | | 2000-12-13 Chris Toshok <toshok@helixcode.com> * e-table-sorter.c (qsort_callback_complex), (ets_sort_build_subset), (ets_sort_subset), (ets_sort_free_subset), (sort_groups_compare), (ets_sort_by_group): cut&paste from e-table-sorted-variable.c and massage names a bit to make sort group sorting work. (ets_sort): if the ETableModel has sort groups, sort using the sort group. svn path=/trunk/; revision=6975
* set "sort_info" on our sorter when we get a new sort_info to keep thingsChris Toshok2000-12-081-4/+56
| | | | | | | | | | | | | | | | | | | 2000-12-07 Chris Toshok <toshok@helixcode.com> * e-table.c (e_table_set_state_object): set "sort_info" on our sorter when we get a new sort_info to keep things in sync. * e-table-sorter.c (ets_set_arg): new function, allowing the setting of "sort_info". (ets_get_arg): new function, allowing the getting of "sort_info". (ets_class_init): fill in GtkObject::set_arg and get_arg. (ets_sort): set ets->needs_sorting to 0 so we don't sort unnecessarily. (e_table_sorter_model_to_sorted): we may have ets->backsorted (and should use it if we do) even if we didn't need to sort. (e_table_sorter_sorted_to_model): same, except ets->sorted. svn path=/trunk/; revision=6857
* Moved files, fixed header files and paths - FedericoFederico Mena Quintero2000-09-201-1/+1
| | | | svn path=/trunk/; revision=5513
* Fixed e-table #includes so that it would compile.Chris Lahey2000-09-181-1/+1
| | | | svn path=/trunk/; revision=5482
* Made it so that selection ranges work even if the table is using grouping.Christopher James Lahey2000-08-051-4/+6
| | | | | | | | | 2000-08-05 Christopher James Lahey <clahey@helixcode.com> * e-table-sorter.c: Made it so that selection ranges work even if the table is using grouping. svn path=/trunk/; revision=4547
* Made selection ranges work even if the table is sorted.Christopher James Lahey2000-08-051-0/+293
2000-08-05 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, e-table-selection-model.c, e-table-selection-model.h, e-table.c, e-table.h: Made selection ranges work even if the table is sorted. * e-table-sorter.c, e-table-sorter.h: New files to help with making selection ranges work even if sorted. svn path=/trunk/; revision=4546