From 2e93b3da0b04b8f262891ebf38827b2d21f80905 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 3 Oct 2001 13:47:56 +0000 Subject: Pick which field of the row to select based on priority. 2001-10-03 Christopher James Lahey * e-table-click-to-add.c (set_initial_selection): Pick which field of the row to select based on priority. * e-table-col.c, e-table-col.h: Added the priority field to this class. Adapted the _new functions appropriately. * e-table-column-specification.c, e-table-column-specification.h: Added the priority field to this class. * e-table-utils.c (et_col_spec_to_col): Handle the priority field here. svn path=/trunk/; revision=13370 --- widgets/table/e-table-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/table/e-table-utils.c') diff --git a/widgets/table/e-table-utils.c b/widgets/table/e-table-utils.c index 9c9aea6911..05b4d5a004 100644 --- a/widgets/table/e-table-utils.c +++ b/widgets/table/e-table-utils.c @@ -74,14 +74,14 @@ et_col_spec_to_col (ETableColumnSpecification *col_spec, col_spec->model_col, gettext (col_spec->title), pixbuf, col_spec->expansion, col_spec->minimum_width, - cell, compare, col_spec->resizable); + cell, compare, col_spec->resizable, col_spec->priority); } } if (col == NULL && col_spec->title && *col_spec->title) { col = e_table_col_new ( col_spec->model_col, gettext (col_spec->title), col_spec->expansion, col_spec->minimum_width, - cell, compare, col_spec->resizable); + cell, compare, col_spec->resizable, col_spec->priority); } } return col; -- cgit v1.2.3