diff options
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; |