Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
diff options
context:
space:
mode:
authorPhilip Langdale <gnomebugs.philipl@overt.org>2009-08-08 14:37:07 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-08-08 14:37:07 (GMT)
commitacaf58f453421e81abcad501788f7c2620993d20 (patch)
treeec2ef0401de3b4c2c98fa1b5310bcb1619623317 /libview
parenta0f9ec3d4c28ed79363aaeb32395c3e026d1cb18 (diff)
[libview] Let scroll wheel change page when in non-continuous best-fit mode
See bgo#562257.
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c4
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: