summaryrefslogtreecommitdiff
path: root/shell
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 /shell
parent7619dc678fcc3e64ccefb0565517ca6f14554550 (diff)
downloadatril-1c2e9ea54f1641e972d5135420aa81c0d7bba84c.tar.bz2
atril-1c2e9ea54f1641e972d5135420aa81c0d7bba84c.tar.xz
shell: add keypad accels for zoom_reset
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index e7fc6538..eeec9f81 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6404,6 +6404,8 @@ static const GtkActionEntry entries[] = {
G_CALLBACK (ev_window_cmd_view_zoom_in) },
{ "CtrlKpMinus", "zoom-out", NULL, "<control>KP_Subtract", NULL,
G_CALLBACK (ev_window_cmd_view_zoom_out) },
+ { "CtrlKpZero", "zoom-original", NULL, "<control>KP_0", NULL,
+ G_CALLBACK (ev_window_cmd_view_zoom_reset) },
{ "CtrlInsert", "edit-copy", NULL, "<control>Insert", NULL,
G_CALLBACK (ev_window_cmd_edit_copy) },
{ "FitPage", EV_STOCK_ZOOM_PAGE, NULL, "f", NULL,