diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-07-13 07:03:39 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-07-13 07:03:39 +0800 |
commit | 86236d06877132bb0586106f21cb61147e369503 (patch) | |
tree | 239fcbbf55126d1cfc68702c92f7bcc0eef635a0 /widgets/table | |
parent | 5e764dcac939cf6e3386234304bfa1bac862f8cf (diff) | |
download | gsoc2013-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')
-rw-r--r-- | widgets/table/e-table-header-item.c | 5 |
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; |