From: Nickolay V. Shmyrev Date: Tue, 21 Mar 2006 17:54:29 +0000 (+0000) Subject: Fix for the bug #334854, page down and page up switch pages in X-Git-Tag: EVINCE_0_5_3~69 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=f248f375c5d1d85724cf59f1dc8e33dab39a69d7;p=evince.git Fix for the bug #334854, page down and page up switch pages in * shell/ev-view.c: (ev_view_scroll): Fix for the bug #334854, page down and page up switch pages in presentation mode. --- diff --git a/ChangeLog b/ChangeLog index 742820ba..283710bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-03-21 Nickolay V. Shmyrev + + * shell/ev-view.c: (ev_view_scroll): + + Fix for the bug #334854, page down and page up switch + pages in presentation mode. + 2006-03-21 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_set_action_sensitive), diff --git a/shell/ev-view.c b/shell/ev-view.c index d8a80249..8ac8aa7b 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -574,9 +574,11 @@ ev_view_scroll (EvView *view, if (view->presentation) { switch (scroll) { + case EV_SCROLL_PAGE_BACKWARD: case EV_SCROLL_STEP_BACKWARD: ev_view_previous_page (view); break; + case EV_SCROLL_PAGE_FORWARD: case EV_SCROLL_STEP_FORWARD: ev_view_next_page (view); break;