diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 3e81b418..f5672c42 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -244,6 +244,7 @@ void init_DocumentWidget(iDocumentWidget *d) { | |||
244 | addChild_Widget(w, iClob(d->scroll = new_ScrollWidget())); | 244 | addChild_Widget(w, iClob(d->scroll = new_ScrollWidget())); |
245 | d->menu = NULL; /* created when clicking */ | 245 | d->menu = NULL; /* created when clicking */ |
246 | #if !defined (iPlatformApple) /* in system menu */ | 246 | #if !defined (iPlatformApple) /* in system menu */ |
247 | addAction_Widget(w, reload_KeyShortcut, "navigate.reload"); | ||
247 | addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close"); | 248 | addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close"); |
248 | #endif | 249 | #endif |
249 | addAction_Widget(w, navigateBack_KeyShortcut, "navigate.back"); | 250 | addAction_Widget(w, navigateBack_KeyShortcut, "navigate.back"); |
@@ -1453,9 +1454,9 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
1453 | pushBackN_Array( | 1454 | pushBackN_Array( |
1454 | &items, | 1455 | &items, |
1455 | (iMenuItem[]){ | 1456 | (iMenuItem[]){ |
1456 | { "Go Back", SDLK_LEFT, KMOD_PRIMARY, "navigate.back" }, | 1457 | { "Go Back", navigateBack_KeyShortcut, "navigate.back" }, |
1457 | { "Go Forward", SDLK_RIGHT, KMOD_PRIMARY, "navigate.forward" }, | 1458 | { "Go Forward", navigateForward_KeyShortcut, "navigate.forward" }, |
1458 | { "Reload Page", 0, 0, "navigate.reload" }, | 1459 | { "Reload Page", reload_KeyShortcut, "navigate.reload" }, |
1459 | { "---", 0, 0, NULL }, | 1460 | { "---", 0, 0, NULL }, |
1460 | { d->contextLink ? "Copy Link URL" : "Copy Page URL", | 1461 | { d->contextLink ? "Copy Link URL" : "Copy Page URL", |
1461 | 0, | 1462 | 0, |