From a5931319b6e19fdcbe18e077a2305cf41ccaea9e Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 12 Oct 2001 21:52:49 +0000 Subject: Use new e_table_header_prioritized_column field. 2001-10-12 Christopher James Lahey * e-table-click-to-add.c (set_initial_selection): Use new e_table_header_prioritized_column field. * e-table-header.c, e-table-header.h (e_table_header_prioritized_column): New function. Refactors the code from ETableClickToAdd to find the column with the highest priority. * e-table-selection-model.c, e-table-selection-model.h (model_changed_idle): Changed this function to use the e_table_header_prioritized_column function. Added an argument to set the "header" on this selection model. * e-table-utils.h: Indentation cleanup. * e-table.c (et_real_construct): Set the "header" argument on the selection model here. * e-table.h: #include svn path=/trunk/; revision=13633 --- widgets/table/e-table-header.h | 1 + 1 file changed, 1 insertion(+) (limited to 'widgets/table/e-table-header.h') diff --git a/widgets/table/e-table-header.h b/widgets/table/e-table-header.h index c186a8c48c..7d0315390e 100644 --- a/widgets/table/e-table-header.h +++ b/widgets/table/e-table-header.h @@ -84,6 +84,7 @@ void e_table_header_calc_widths (ETableHeader *eth); GList *e_table_header_get_selected_indexes (ETableHeader *eth); void e_table_header_update_horizontal (ETableHeader *eth); +int e_table_header_prioritized_column (ETableHeader *eth); #ifdef __cplusplus -- cgit