[evince/gnome-3-16] libview: Handle GTK_SCROLL_START/GTK_SCROLL_END also in fit-to-page mode
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/gnome-3-16] libview: Handle GTK_SCROLL_START/GTK_SCROLL_END also in fit-to-page mode
- Date: Sat, 13 Jun 2015 08:19:44 +0000 (UTC)
commit b2f95df6dd55a4c4af9b03c5d367ef6107a616cc
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sat Jun 13 10:18:07 2015 +0200
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 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 84f1d49..192d7cd 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -991,6 +991,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]