diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/keys.c | 2 | ||||
-rw-r--r-- | src/ui/util.c | 2 | ||||
-rw-r--r-- | src/ui/window.c | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c index d42ecfba..0a0295ac 100644 --- a/src/ui/keys.c +++ b/src/ui/keys.c | |||
@@ -76,6 +76,8 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = | |||
76 | { 33, { "Go to site root", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | 76 | { 33, { "Go to site root", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, |
77 | { 40, { "Open link via home row keys", 'f', 0, "document.linkkeys arg:1" }, 0 }, | 77 | { 40, { "Open link via home row keys", 'f', 0, "document.linkkeys arg:1" }, 0 }, |
78 | { 41, { "Open link via modifier key", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | 78 | { 41, { "Open link via modifier key", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, |
79 | { 80, { "Previous tab", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | ||
80 | { 81, { "Next tab", nextTab_KeyShortcut, "tabs.next" }, 0 }, | ||
79 | /* The following cannot currently be changed (built-in duplicates). */ | 81 | /* The following cannot currently be changed (built-in duplicates). */ |
80 | { 1000, { NULL, SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | 82 | { 1000, { NULL, SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, |
81 | { 1001, { NULL, SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | 83 | { 1001, { NULL, SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, |
diff --git a/src/ui/util.c b/src/ui/util.c index 5cab8b4f..428f9e9d 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -1162,8 +1162,6 @@ iWidget *makePreferences_Widget(void) { | |||
1162 | addChild_Widget(div, iClob(newKeyMods_LabelWidget("Dismiss", SDLK_ESCAPE, 0, "prefs.dismiss"))); | 1162 | addChild_Widget(div, iClob(newKeyMods_LabelWidget("Dismiss", SDLK_ESCAPE, 0, "prefs.dismiss"))); |
1163 | } | 1163 | } |
1164 | addChild_Widget(dlg, iClob(div)); | 1164 | addChild_Widget(dlg, iClob(div)); |
1165 | addAction_Widget(dlg, prevTab_KeyShortcut, "tabs.prev"); | ||
1166 | addAction_Widget(dlg, nextTab_KeyShortcut, "tabs.next"); | ||
1167 | addChild_Widget(get_Window()->root, iClob(dlg)); | 1165 | addChild_Widget(get_Window()->root, iClob(dlg)); |
1168 | centerSheet_Widget(dlg); | 1166 | centerSheet_Widget(dlg); |
1169 | return dlg; | 1167 | return dlg; |
diff --git a/src/ui/window.c b/src/ui/window.c index c0afe266..08644743 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -500,8 +500,6 @@ static void setupUserInterface_Window(iWindow *d) { | |||
500 | 6); | 500 | 6); |
501 | setId_Widget(tabsMenu, "doctabs.menu"); | 501 | setId_Widget(tabsMenu, "doctabs.menu"); |
502 | /* Global keyboard shortcuts. */ { | 502 | /* Global keyboard shortcuts. */ { |
503 | addAction_Widget(d->root, prevTab_KeyShortcut, "tabs.prev"); | ||
504 | addAction_Widget(d->root, nextTab_KeyShortcut, "tabs.next"); | ||
505 | addAction_Widget(d->root, 'l', KMOD_PRIMARY, "navigate.focus"); | 503 | addAction_Widget(d->root, 'l', KMOD_PRIMARY, "navigate.focus"); |
506 | addAction_Widget(d->root, 'f', KMOD_PRIMARY, "focus.set id:find.input"); | 504 | addAction_Widget(d->root, 'f', KMOD_PRIMARY, "focus.set id:find.input"); |
507 | addAction_Widget(d->root, '1', KMOD_PRIMARY, "sidebar.mode arg:0 toggle:1"); | 505 | addAction_Widget(d->root, '1', KMOD_PRIMARY, "sidebar.mode arg:0 toggle:1"); |