[evince] 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] libview: Handle GTK_SCROLL_START/GTK_SCROLL_END also in fit-to-page mode
- Date: Sat, 13 Jun 2015 08:19:12 +0000 (UTC)
commit 932e9fc69d0e74d6412b9771f00dae5a10fc35f0
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 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]