aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-click-to-add.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-27 16:44:20 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-27 16:44:20 +0800
commit9d1dafcffb2482ab198577c1f929b5f052c0db51 (patch)
treec894d388ac33dfbb3d113bc5b7444b09d9dc4ab9 /widgets/table/e-table-click-to-add.c
parent324c39e2cce3454eec44f7afc92b96dd478e91e6 (diff)
downloadgsoc2013-evolution-9d1dafcffb2482ab198577c1f929b5f052c0db51.tar
gsoc2013-evolution-9d1dafcffb2482ab198577c1f929b5f052c0db51.tar.gz
gsoc2013-evolution-9d1dafcffb2482ab198577c1f929b5f052c0db51.tar.bz2
gsoc2013-evolution-9d1dafcffb2482ab198577c1f929b5f052c0db51.tar.lz
gsoc2013-evolution-9d1dafcffb2482ab198577c1f929b5f052c0db51.tar.xz
gsoc2013-evolution-9d1dafcffb2482ab198577c1f929b5f052c0db51.tar.zst
gsoc2013-evolution-9d1dafcffb2482ab198577c1f929b5f052c0db51.zip
Clear the selection model when activating.
2000-07-27 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Clear the selection model when activating. * e-table-item.c: Fixed a bunch of model column vs. view column issues. * e-table-selection-model.c: Set the cursor to -1, -1 and emi a "cursor_changed" signal. svn path=/trunk/; revision=4380
Diffstat (limited to 'widgets/table/e-table-click-to-add.c')
-rw-r--r--widgets/table/e-table-click-to-add.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index ed9d2ab2d9..8732e88a51 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -285,6 +285,8 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e)
one = e_table_one_new(etcta->model);
etcta_add_one (etcta, one);
gtk_object_unref(GTK_OBJECT(one));
+
+ e_table_selection_model_clear(etcta->selection);
etcta->row = gnome_canvas_item_new(GNOME_CANVAS_GROUP(item),
e_table_item_get_type(),