From 932e9fc69d0e74d6412b9771f00dae5a10fc35f0 Mon Sep 17 00:00:00 2001
From: Carlos Garcia Campos <carlosgc@gnome.org>
Date: Sat, 13 Jun 2015 10:18:07 +0200
Subject: libview: Handle GTK_SCROLL_START/GTK_SCROLL_END also in fit-to-page
mode
https://bugzilla.gnome.org/show_bug.cgi?id=737996
---
libview/ev-view.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 6ca569f..9e5e0e0 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -1006,6 +1006,12 @@ ev_view_scroll (EvView *view,
case GTK_SCROLL_STEP_FORWARD:
ev_view_next_page (view);
break;
+ case GTK_SCROLL_START:
+ ev_view_first_page (view);
+ break;
+ case GTK_SCROLL_END:
+ ev_view_last_page (view);
+ break;
default:
break;
}
--
cgit v0.12