From d261f1e17b9af3e909f95477e1f3c90020e5c218 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 14 Aug 2001 06:33:46 +0000 Subject: Got rid of event forwarding for double clicks and releases and such and 2001-08-14 Christopher James Lahey * 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 --- widgets/table/e-table-click-to-add.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'widgets/table/e-table-click-to-add.c') 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); -- cgit