Blame SOURCES/evince-3.14.2-handle-gtk-scroll-start-end-in-fit-to-page-mode.patch

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