https://www.fi.muni.cz/~kas/git
/
evince.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0f9ec3
)
[libview] Let scroll wheel change page when in non-continuous best-fit mode
author
Philip Langdale
<gnomebugs.philipl@overt.org>
Sat, 8 Aug 2009 14:37:07 +0000
(16:37 +0200)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Sat, 8 Aug 2009 14:37:07 +0000
(16:37 +0200)
See bgo#562257.
libview/ev-view.c
patch
|
blob
|
history
diff --git
a/libview/ev-view.c
b/libview/ev-view.c
index 613236319dc4aa4d4fefbd35b068434289686867..e1c84037e2209902e708ce14e4bee609cfc4e6be 100644
(file)
--- 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: