summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/atril-previewer-ui.xml6
-rw-r--r--previewer/ev-previewer-window.c26
2 files changed, 0 insertions, 32 deletions
diff --git a/data/atril-previewer-ui.xml b/data/atril-previewer-ui.xml
index 0a291df3..37c989ad 100644
--- a/data/atril-previewer-ui.xml
+++ b/data/atril-previewer-ui.xml
@@ -14,14 +14,8 @@
</toolbar>
<accelerator name="FileCloseWindowAccel" action="FileCloseWindow"/>
- <accelerator name="SpaceAccel" action="Space"/>
- <accelerator name="ReturnAccel" action="Return"/>
- <accelerator name="BackSpaceAccel" action="BackSpace"/>
- <accelerator name="ShiftSpaceAccel" action="ShiftSpace"/>
- <accelerator name="ShiftBackSpaceAccel" action="ShiftBackSpace"/>
<accelerator name="pAccel" action="p"/>
<accelerator name="nAccel" action="n"/>
- <accelerator name="ShiftReturnAccel" action="ShiftReturn"/>
<accelerator name="FocusPageSelectorAccel" action="FocusPageSelector"/>
<accelerator name="PlusAccel" action="Plus"/>
<accelerator name="MinusAccel" action="Minus"/>
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,