Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-08-07 17:23:28 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-08-07 17:23:28 (GMT)
commit3fbddc92cfd132f6793605057c770cd77bf37c3d (patch)
tree1d0b0db31051d6753483a568502bcab06b921bb3 /shell
parent00f90e30c3a82cbb9ec91468d5186086603766f2 (diff)
Don't update page range if we are scrolling to some document
point.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index fe07f1d..64f1484 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -483,6 +483,9 @@ view_set_adjustment_values (EvView *view,
static void
view_update_range_and_current_page (EvView *view)
{
+ if (view->pending_scroll != SCROLL_TO_KEEP_POSITION)
+ return;
+
/* Presentation trumps all other modes */
if (view->presentation) {
view->start_page = view->current_page;