Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
diff options
context:
space:
mode:
authorWouter Bolsterlee <wbolster@cvs.gnome.org>2006-10-19 16:06:17 (GMT)
committer Wouter Bolsterlee <wbolster@src.gnome.org>2006-10-19 16:06:17 (GMT)
commit51bb08a308a67957f38abbf154fc873765c490d4 (patch)
treea851ed0aa3cc09c8dd5b15ee3b5b8dd9120504d3 /shell/ev-view.c
parent7cbec0d201441f1ddc4559265d380079f3663d69 (diff)
Page Up/Down should do page jumps in "Best fit" mode. If a user has
2006-10-19 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (ev_view_scroll): Page Up/Down should do page jumps in "Best fit" mode. If a user has explicitly chosen to view exactly one page at a time, scrolling just a part of the page when pressing Page Up/Down is not right. Fixes bug #323107.
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r--shell/ev-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 4a2161b..3da5e83 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -581,7 +581,7 @@ ev_view_scroll (EvView *view,
view->jump_to_find_result = FALSE;
- if (view->presentation) {
+ if (view->presentation || view->sizing_mode == EV_SIZING_BEST_FIT) {
switch (scroll) {
case EV_SCROLL_PAGE_BACKWARD:
case EV_SCROLL_STEP_BACKWARD: