[evince] [libview] Let scroll wheel change page when in non-continuous best-fit mode
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince] [libview] Let scroll wheel change page when in non-continuous best-fit mode
- Date: Sat, 8 Aug 2009 14:38:09 +0000 (UTC)
commit acaf58f453421e81abcad501788f7c2620993d20
Author: Philip Langdale <gnomebugs philipl overt org>
Date: Sat Aug 8 16:37:07 2009 +0200
[libview] Let scroll wheel change page when in non-continuous best-fit mode
See bgo#562257.
libview/ev-view.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 6132363..e1c8403 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]