aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-07-26 10:23:33 +0800
committerJacob Leach <jleach@src.gnome.org>2001-07-26 10:23:33 +0800
commit9cf5ba1797448f8a2eb28add9f6b07c6adb31495 (patch)
treebca94488ad9fc8d092adc76383d308afc1a85c3c /widgets/table
parent706cb549dfd40dbf931a5e33019086e262be0121 (diff)
downloadgsoc2013-evolution-9cf5ba1797448f8a2eb28add9f6b07c6adb31495.tar
gsoc2013-evolution-9cf5ba1797448f8a2eb28add9f6b07c6adb31495.tar.gz
gsoc2013-evolution-9cf5ba1797448f8a2eb28add9f6b07c6adb31495.tar.bz2
gsoc2013-evolution-9cf5ba1797448f8a2eb28add9f6b07c6adb31495.tar.lz
gsoc2013-evolution-9cf5ba1797448f8a2eb28add9f6b07c6adb31495.tar.xz
gsoc2013-evolution-9cf5ba1797448f8a2eb28add9f6b07c6adb31495.tar.zst
gsoc2013-evolution-9cf5ba1797448f8a2eb28add9f6b07c6adb31495.zip
If the CLICK signal gets a return value, so we're going to be return from
2001-07-25 Jason Leach <jleach@ximian.com> * 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
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-item.c5
1 files changed, 4 insertions, 1 deletions
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,