From: Nickolay V. Shmyrev Date: Sun, 7 Aug 2005 17:23:28 +0000 (+0000) Subject: Don't update page range if we are scrolling to some document X-Git-Tag: EVINCE_0_3_3~20 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=3fbddc92cfd132f6793605057c770cd77bf37c3d;p=evince.git Don't update page range if we are scrolling to some document point. --- diff --git a/ChangeLog b/ChangeLog index 38d40cf0..e29f59d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-07 Nickolay V. Shmyrev + + * shell/ev-view.c: (view_update_range_and_current_page): + Don't update page range if we are scrolling to some document + point. + 2005-08-07 Nickolay V. Shmyrev * shell/ev-view.c: (get_page_extents): reverse rotation/scale diff --git a/shell/ev-view.c b/shell/ev-view.c index fe07f1dd..64f14843 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;