Summary Files Commits Branches @commit @diff @stats
path: root / keybindings.c
diff options
context:
space:
mode:
Commit1d1a739cb869a73391759d8d7653b337c8ee8d01 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-05-12 07:10:49 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-05-12 07:13:56 +0200
Filesfb7f05c8f6038e8d42479d7f2e37b62b4692d120 /keybindings.c
goodwolf-1d1a739cb869a73391759d8d7653b337c8ee8d01.tar
goodwolf-1d1a739cb869a73391759d8d7653b337c8ee8d01.tar.gz
goodwolf-1d1a739cb869a73391759d8d7653b337c8ee8d01.zip
Parent80751fafa0b2600e17c8d880f267d8afd36c9108 (diff)
Add Ctrl-p keybinding
1 files changed, 4 insertions, 0 deletions
-rw-r--r--keybindings.c4
diff --git a/keybindings.c b/keybindings.c
index 51aac26..75860ed 100644
--- a/keybindings.c
+++ b/keybindings.c
@@ -100,6 +100,10 @@ commonCb_key_press_event(struct Window *window, GdkEvent *event, struct Client *
case GDK_KEY_0:
webkit_web_view_set_zoom_level(WEBKIT_WEB_VIEW(browser->webView), 1);
return TRUE;
+ case GDK_KEY_p:
+ webkit_print_operation_run_dialog(webkit_print_operation_new(browser->webView),
+ GTK_WINDOW(browser->window));
+ return TRUE;
}
}
else