summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-09 19:59:06 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-09 19:59:06 +0300
commit4ab25def835077e04cf6df19f4aadc7a2e9dc0d7 (patch)
tree670ff7734938c2dd9f5160638b72ad20852c24e9 /src/ui/documentwidget.c
parentf0c3134aebd83de1712a66d59af9f2d414110f11 (diff)
Added header file for keyboard shortcuts
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index f99280d7..6e10ff54 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -26,6 +26,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
26#include "labelwidget.h" 26#include "labelwidget.h"
27#include "paint.h" 27#include "paint.h"
28#include "command.h" 28#include "command.h"
29#include "keys.h"
29#include "util.h" 30#include "util.h"
30#include "history.h" 31#include "history.h"
31#include "app.h" 32#include "app.h"
@@ -245,8 +246,8 @@ void init_DocumentWidget(iDocumentWidget *d) {
245#if !defined (iPlatformApple) /* in system menu */ 246#if !defined (iPlatformApple) /* in system menu */
246 addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close"); 247 addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close");
247#endif 248#endif
248 addAction_Widget(w, SDLK_LEFT, KMOD_PRIMARY, "navigate.back"); 249 addAction_Widget(w, navigateBack_KeyShortcut, "navigate.back");
249 addAction_Widget(w, SDLK_RIGHT, KMOD_PRIMARY, "navigate.forward"); 250 addAction_Widget(w, navigateForward_KeyShortcut, "navigate.forward");
250} 251}
251 252
252void deinit_DocumentWidget(iDocumentWidget *d) { 253void deinit_DocumentWidget(iDocumentWidget *d) {