aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-08-14 14:33:46 +0800
committerChris Lahey <clahey@src.gnome.org>2001-08-14 14:33:46 +0800
commitd261f1e17b9af3e909f95477e1f3c90020e5c218 (patch)
treeb7be06d39a1152afceaec124f6fd8a94e9429f4d /widgets/table
parentd2ba9ef3a6b8dd6bfaa49f3828e2ce2026849fb2 (diff)
downloadgsoc2013-evolution-d261f1e17b9af3e909f95477e1f3c90020e5c218.tar
gsoc2013-evolution-d261f1e17b9af3e909f95477e1f3c90020e5c218.tar.gz
gsoc2013-evolution-d261f1e17b9af3e909f95477e1f3c90020e5c218.tar.bz2
gsoc2013-evolution-d261f1e17b9af3e909f95477e1f3c90020e5c218.tar.lz
gsoc2013-evolution-d261f1e17b9af3e909f95477e1f3c90020e5c218.tar.xz
gsoc2013-evolution-d261f1e17b9af3e909f95477e1f3c90020e5c218.tar.zst
gsoc2013-evolution-d261f1e17b9af3e909f95477e1f3c90020e5c218.zip
Got rid of event forwarding for double clicks and releases and such and
2001-08-14 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (etcta_event): Got rid of event forwarding for double clicks and releases and such and for single clicks except when first creating the row object. svn path=/trunk/; revision=11993
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-click-to-add.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index 72fe24c6c0..a7cc26273f 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -356,12 +356,7 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e)
gtk_signal_connect(GTK_OBJECT(etcta->row), "key_press",
GTK_SIGNAL_FUNC(item_key_press), etcta);
- }
- /* Fall through. No break; */
- case GDK_BUTTON_RELEASE:
- case GDK_2BUTTON_PRESS:
- case GDK_3BUTTON_PRESS:
- if (etcta->row) {
+
gnome_canvas_item_i2w (item, &e->button.x, &e->button.y);
gnome_canvas_item_w2i (etcta->row, &e->button.x, &e->button.y);
gtk_signal_emit_by_name(GTK_OBJECT(etcta->row), "event", e, &ret_val);