]> www.fi.muni.cz Git - evince.git/commitdiff
Fix for the bug #334854, page down and page up switch pages in
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Tue, 21 Mar 2006 17:54:29 +0000 (17:54 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Tue, 21 Mar 2006 17:54:29 +0000 (17:54 +0000)
* shell/ev-view.c: (ev_view_scroll):

Fix for the bug #334854, page down and page up switch
pages in presentation mode.

ChangeLog
shell/ev-view.c

index 742820ba1b7e97f1e872d47b2940994194823d57..283710bc91a35764225bb9f1885aaacc5a6584ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-03-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * 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  <nshmyrev@yandex.ru>
 
        * shell/ev-window.c: (ev_window_set_action_sensitive),
index d8a802498de1529a4c8f79733d9f9dbc97a06b1e..8ac8aa7bbbcf093cfa06771c3ff808d67869f460 100644 (file)
@@ -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;