aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-12 11:57:32 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-12 11:57:32 +0800
commit36c2e495136a79067158d6c08b418bcb7d511657 (patch)
tree836fe9469f52f093bde82ed6a3349b56be4d8059 /widgets/table/e-table.c
parent01a5bc2c2c4ff45929078632294d53660d6263ee (diff)
downloadgsoc2013-evolution-36c2e495136a79067158d6c08b418bcb7d511657.tar
gsoc2013-evolution-36c2e495136a79067158d6c08b418bcb7d511657.tar.gz
gsoc2013-evolution-36c2e495136a79067158d6c08b418bcb7d511657.tar.bz2
gsoc2013-evolution-36c2e495136a79067158d6c08b418bcb7d511657.tar.lz
gsoc2013-evolution-36c2e495136a79067158d6c08b418bcb7d511657.tar.xz
gsoc2013-evolution-36c2e495136a79067158d6c08b418bcb7d511657.tar.zst
gsoc2013-evolution-36c2e495136a79067158d6c08b418bcb7d511657.zip
Added selection_mode argument.
2001-01-11 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c, e-table-selection-model.h: Added selection_mode argument. * e-table-specification.c, e-table-specification.h: Added a selection_mode field that is set based on the selection-mode attribute in the ETableSpecification element. * e-table.c (et_real_construct): Set the selection model's selection mode based on the ETableSpecification. svn path=/trunk/; revision=7427
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 4311005107..2d2303def1 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -891,6 +891,10 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete,
e_table->cursor_mode = specification->cursor_mode;
e_table->full_header = et_spec_to_full_header(e_table, specification, ete);
+ gtk_object_set(GTK_OBJECT(e_table->selection),
+ "selection_mode", specification->selection_mode,
+ NULL);
+
e_table->model = etm;
gtk_object_ref (GTK_OBJECT (etm));