summaryrefslogtreecommitdiff
path: root/previewer/ev-previewer-window.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-03-10 11:26:00 +0100
committerraveit65 <[email protected]>2018-03-16 18:03:55 +0100
commit1c2e9ea54f1641e972d5135420aa81c0d7bba84c (patch)
tree3f76027ba9df81a06597dfcb559c90b5a8585240 /previewer/ev-previewer-window.c
parent7619dc678fcc3e64ccefb0565517ca6f14554550 (diff)
downloadatril-1c2e9ea54f1641e972d5135420aa81c0d7bba84c.tar.bz2
atril-1c2e9ea54f1641e972d5135420aa81c0d7bba84c.tar.xz
shell: add keypad accels for zoom_reset
Diffstat (limited to 'previewer/ev-previewer-window.c')
-rw-r--r--previewer/ev-previewer-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c
index 38848e39..3920d2db 100644
--- a/previewer/ev-previewer-window.c
+++ b/previewer/ev-previewer-window.c
@@ -324,6 +324,8 @@ static const GtkActionEntry accel_entries[] = {
G_CALLBACK (ev_previewer_window_zoom_in) },
{ "CtrlKpMinus", "zoom-out", NULL, "<control>KP_Subtract", NULL,
G_CALLBACK (ev_previewer_window_zoom_out) },
+ { "CtrlKpZero", "zoom-original", NULL, "<control>KP_0", NULL,
+ G_CALLBACK (ev_previewer_window_zoom_reset) },
{ "FocusPageSelector", NULL, "", "<control>l", NULL,
G_CALLBACK (ev_previewer_window_focus_page_selector) }