diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 115dd04b..a69dd7db 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -146,6 +146,8 @@ static const iMenuItem viewMenuItems[] = { | |||
146 | { "---", 0, 0, NULL }, | 146 | { "---", 0, 0, NULL }, |
147 | { "Go Back", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | 147 | { "Go Back", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, |
148 | { "Go Forward", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | 148 | { "Go Forward", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, |
149 | { "Go to Parent", navigateParent_KeyShortcut, "navigate.parent" }, | ||
150 | { "Go to Root", navigateRoot_KeyShortcut, "navigate.root" }, | ||
149 | { "Reload Page", reload_KeyShortcut, "navigate.reload" }, | 151 | { "Reload Page", reload_KeyShortcut, "navigate.reload" }, |
150 | { "---", 0, 0, NULL }, | 152 | { "---", 0, 0, NULL }, |
151 | { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | 153 | { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, |
@@ -473,14 +475,12 @@ static void setupUserInterface_Window(iWindow *d) { | |||
473 | /* Global keyboard shortcuts. */ { | 475 | /* Global keyboard shortcuts. */ { |
474 | addAction_Widget(d->root, prevTab_KeyShortcut, "tabs.prev"); | 476 | addAction_Widget(d->root, prevTab_KeyShortcut, "tabs.prev"); |
475 | addAction_Widget(d->root, nextTab_KeyShortcut, "tabs.next"); | 477 | addAction_Widget(d->root, nextTab_KeyShortcut, "tabs.next"); |
476 | #if !defined (iHaveNativeMenus) | ||
477 | addAction_Widget(d->root, 'l', KMOD_PRIMARY, "navigate.focus"); | 478 | addAction_Widget(d->root, 'l', KMOD_PRIMARY, "navigate.focus"); |
478 | addAction_Widget(d->root, 'f', KMOD_PRIMARY, "focus.set id:find.input"); | 479 | addAction_Widget(d->root, 'f', KMOD_PRIMARY, "focus.set id:find.input"); |
479 | addAction_Widget(d->root, '1', KMOD_PRIMARY, "sidebar.mode arg:0 toggle:1"); | 480 | addAction_Widget(d->root, '1', KMOD_PRIMARY, "sidebar.mode arg:0 toggle:1"); |
480 | addAction_Widget(d->root, '2', KMOD_PRIMARY, "sidebar.mode arg:1 toggle:1"); | 481 | addAction_Widget(d->root, '2', KMOD_PRIMARY, "sidebar.mode arg:1 toggle:1"); |
481 | addAction_Widget(d->root, '3', KMOD_PRIMARY, "sidebar.mode arg:2 toggle:1"); | 482 | addAction_Widget(d->root, '3', KMOD_PRIMARY, "sidebar.mode arg:2 toggle:1"); |
482 | addAction_Widget(d->root, '4', KMOD_PRIMARY, "sidebar.mode arg:3 toggle:1"); | 483 | addAction_Widget(d->root, '4', KMOD_PRIMARY, "sidebar.mode arg:3 toggle:1"); |
483 | #endif | ||
484 | } | 484 | } |
485 | } | 485 | } |
486 | 486 | ||