aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-item.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-13 07:03:39 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-13 07:03:39 +0800
commit86236d06877132bb0586106f21cb61147e369503 (patch)
tree239fcbbf55126d1cfc68702c92f7bcc0eef635a0 /widgets/table/e-table-header-item.c
parent5e764dcac939cf6e3386234304bfa1bac862f8cf (diff)
downloadgsoc2013-evolution-86236d06877132bb0586106f21cb61147e369503.tar
gsoc2013-evolution-86236d06877132bb0586106f21cb61147e369503.tar.gz
gsoc2013-evolution-86236d06877132bb0586106f21cb61147e369503.tar.bz2
gsoc2013-evolution-86236d06877132bb0586106f21cb61147e369503.tar.lz
gsoc2013-evolution-86236d06877132bb0586106f21cb61147e369503.tar.xz
gsoc2013-evolution-86236d06877132bb0586106f21cb61147e369503.tar.zst
gsoc2013-evolution-86236d06877132bb0586106f21cb61147e369503.zip
Made scroll wheel work properly in header.
2000-07-12 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Made scroll wheel work properly in header. svn path=/trunk/; revision=4128
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r--widgets/table/e-table-header-item.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index bbad304182..ebe2c6434e 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -1236,8 +1236,11 @@ ethi_event (GnomeCanvasItem *item, GdkEvent *e)
break;
case GDK_BUTTON_PRESS:
- convert (canvas, e->button.x, e->button.y, &x, &y);
+ if (e->button.button > 3)
+ return FALSE;
+ convert (canvas, e->button.x, e->button.y, &x, &y);
+
if (is_pointer_on_division (ethi, x, &start, &col) && e->button.button == 1){
ETableCol *ecol;