aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-utils.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-03 21:47:56 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-03 21:47:56 +0800
commit2e93b3da0b04b8f262891ebf38827b2d21f80905 (patch)
tree558cec578eea4edff7c667b6d4bf8c19fae42b2e /widgets/table/e-table-utils.c
parentd3798ab87ef00d8c3944b362bd4960b33d95f4d3 (diff)
downloadgsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.gz
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.bz2
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.lz
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.xz
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.zst
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.zip
Pick which field of the row to select based on priority.
2001-10-03 Christopher James Lahey <clahey@ximian.com> * 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
Diffstat (limited to 'widgets/table/e-table-utils.c')
-rw-r--r--widgets/table/e-table-utils.c4
1 files changed, 2 insertions, 2 deletions
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;