diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-09 09:41:06 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-09 09:41:06 +0300 |
commit | 4c277ce0e6efe5d372b399bd37eaef07d6ea8c1a (patch) | |
tree | 954e2e5f4b5c9840e90999178b972cc6b50d5f36 /src/ui/documentwidget.c | |
parent | ec4a55a53c2ee358e0b6f6220a7fad6c83cb4101 (diff) |
Closing tabs/window
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index a789a759..53eb06bd 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -145,6 +145,9 @@ void init_DocumentWidget(iDocumentWidget *d) { | |||
145 | { "Copy", 'c', KMOD_PRIMARY, "copy" }, | 145 | { "Copy", 'c', KMOD_PRIMARY, "copy" }, |
146 | { "Copy Link", 0, 0, "document.copylink" } }, | 146 | { "Copy Link", 0, 0, "document.copylink" } }, |
147 | 6); | 147 | 6); |
148 | #if !defined (iPlatformApple) /* in system menu */ | ||
149 | addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close"); | ||
150 | #endif | ||
148 | } | 151 | } |
149 | 152 | ||
150 | void deinit_DocumentWidget(iDocumentWidget *d) { | 153 | void deinit_DocumentWidget(iDocumentWidget *d) { |