summaryrefslogtreecommitdiff
path: root/previewer/ev-previewer-window.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <[email protected]>2013-07-12 12:14:50 +0200
committerraveit65 <[email protected]>2017-09-06 18:25:34 +0200
commitcf640c0d122399633ab7c0652ca63af2f0f00672 (patch)
tree0bdd3912769bb75a104cf4c82c175d10c85cf23e /previewer/ev-previewer-window.c
parentd1ffef1388e87c201a422beb459b623702d88b9a (diff)
downloadatril-cf640c0d122399633ab7c0652ca63af2f0f00672.tar.bz2
atril-cf640c0d122399633ab7c0652ca63af2f0f00672.tar.xz
previewer: Remove scroll accelerators
They are handled by the EvView now. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=1649067
Diffstat (limited to 'previewer/ev-previewer-window.c')
-rw-r--r--previewer/ev-previewer-window.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c
index 73885f9e..483ff08c 100644
--- a/previewer/ev-previewer-window.c
+++ b/previewer/ev-previewer-window.c
@@ -183,20 +183,6 @@ ev_previewer_window_focus_page_selector (GtkAction *action,
ev_page_action_grab_focus (EV_PAGE_ACTION (page_action));
}
-static void
-ev_previewer_window_scroll_forward (GtkAction *action,
- EvPreviewerWindow *window)
-{
- ev_view_scroll (window->view, GTK_SCROLL_PAGE_FORWARD, FALSE);
-}
-
-static void
-ev_previewer_window_scroll_backward (GtkAction *action,
- EvPreviewerWindow *window)
-{
- ev_view_scroll (window->view, GTK_SCROLL_PAGE_BACKWARD, FALSE);
-}
-
#if GTKUNIXPRINT_ENABLED
static void
ev_previewer_window_print_finished (GtkPrintJob *print_job,
@@ -314,18 +300,6 @@ static const GtkActionEntry action_entries[] = {
};
static const GtkActionEntry accel_entries[] = {
- { "Space", NULL, "", "space", NULL,
- G_CALLBACK (ev_previewer_window_scroll_forward) },
- { "ShiftSpace", NULL, "", "<shift>space", NULL,
- G_CALLBACK (ev_previewer_window_scroll_backward) },
- { "BackSpace", NULL, "", "BackSpace", NULL,
- G_CALLBACK (ev_previewer_window_scroll_backward) },
- { "ShiftBackSpace", NULL, "", "<shift>BackSpace", NULL,
- G_CALLBACK (ev_previewer_window_scroll_forward) },
- { "Return", NULL, "", "Return", NULL,
- G_CALLBACK (ev_previewer_window_scroll_forward) },
- { "ShiftReturn", NULL, "", "<shift>Return", NULL,
- G_CALLBACK (ev_previewer_window_scroll_backward) },
{ "p", GTK_STOCK_GO_UP, "", "p", NULL,
G_CALLBACK (ev_previewer_window_previous_page) },
{ "n", GTK_STOCK_GO_DOWN, "", "n", NULL,