From: Philip Langdale Date: Sat, 8 Aug 2009 14:37:07 +0000 (+0200) Subject: [libview] Let scroll wheel change page when in non-continuous best-fit mode X-Git-Tag: EVINCE_2_27_90~7 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=acaf58f453421e81abcad501788f7c2620993d20;p=evince.git [libview] Let scroll wheel change page when in non-continuous best-fit mode See bgo#562257. --- diff --git a/libview/ev-view.c b/libview/ev-view.c index 61323631..e1c84037 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -2735,7 +2735,9 @@ ev_view_scroll_event (GtkWidget *widget, GdkEventScroll *event) state &= ~GDK_SHIFT_MASK; } - if (state == 0 && view->presentation) { + if (state == 0 && + (view->presentation || + (view->sizing_mode == EV_SIZING_BEST_FIT && !view->continuous))) { switch (event->direction) { case GDK_SCROLL_DOWN: case GDK_SCROLL_RIGHT: