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/e-table | |
parent | 5e764dcac939cf6e3386234304bfa1bac862f8cf (diff) | |
download | gsoc2013-evolution-86236d06877132bb0586106f21cb61147e369503.tar.gz 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/e-table')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-header-item.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index b695763c4a..d95beb3ea0 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,8 @@ +2000-07-12 Christopher James Lahey <clahey@helixcode.com> + + * e-table-header-item.c: Made scroll wheel work properly in + header. + 2000-07-10 Ettore Perazzoli <ettore@helixcode.com> * e-table.c (set_scroll_adjustments): Be safe if @vadjustment is diff --git a/widgets/e-table/e-table-header-item.c b/widgets/e-table/e-table-header-item.c index bbad304182..ebe2c6434e 100644 --- a/widgets/e-table/e-table-header-item.c +++ b/widgets/e-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; |