summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-03-10 11:26:00 +0100
committerraveit65 <[email protected]>2018-03-15 19:11:11 +0100
commit185e7b9e3d6abc3f47c7efcc3f6cdfdcf817bf7b (patch)
tree8539987e3a197090a77570b51c3be890e949d9da /shell
parent580e4fa77018dc57cfd88e229fb21b1d87dfd3dd (diff)
downloadatril-185e7b9e3d6abc3f47c7efcc3f6cdfdcf817bf7b.tar.bz2
atril-185e7b9e3d6abc3f47c7efcc3f6cdfdcf817bf7b.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,