From 9cf5ba1797448f8a2eb28add9f6b07c6adb31495 Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Thu, 26 Jul 2001 02:23:33 +0000 Subject: If the CLICK signal gets a return value, so we're going to be return from 2001-07-25 Jason Leach * e-table-item.c (eti_event): If the CLICK signal gets a return value, so we're going to be return from eti_event immediately after, set the eti->click_count to zero. Fixes bug #811. svn path=/trunk/; revision=11420 --- widgets/table/e-table-item.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 4afe4f4b8b..ad1e9fef5a 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1735,8 +1735,11 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) return_val = FALSE; gtk_signal_emit (GTK_OBJECT (eti), eti_signals [CLICK], row, view_to_model_col(eti, col), &button, &return_val); - if (return_val) + + if (return_val) { + eti->click_count = 0; return TRUE; + } gtk_object_get(GTK_OBJECT(eti->selection), "cursor_row", &cursor_row, -- cgit