diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-16 22:00:44 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-16 22:00:44 +0300 |
commit | 6ace08ae5a11e705a18c10da85f617532b4a9862 (patch) | |
tree | bb5cb46fa45221dffc677a10e6a5cca68effd0ee /src/ui/window.c | |
parent | 69ea47be1cee7298b65db8104f1c88e51554ba48 (diff) |
Keyboard-based link navigation; general improvements
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 75c848e1..71d383ab 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -74,7 +74,7 @@ static const iMenuItem navMenuItems[] = { | |||
74 | { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" }, | 74 | { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" }, |
75 | { "Bookmark This Page", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | 75 | { "Bookmark This Page", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, |
76 | { "---", 0, 0, NULL }, | 76 | { "---", 0, 0, NULL }, |
77 | { "Toggle Sidebar", SDLK_s, KMOD_PRIMARY | KMOD_ALT, "sidebar.toggle" }, | 77 | { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, |
78 | { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | 78 | { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, |
79 | { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | 79 | { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, |
80 | { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | 80 | { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, |
@@ -99,11 +99,11 @@ static const iMenuItem editMenuItems[] = { | |||
99 | }; | 99 | }; |
100 | 100 | ||
101 | static const iMenuItem viewMenuItems[] = { | 101 | static const iMenuItem viewMenuItems[] = { |
102 | { "Show Page Outline", '1', KMOD_PRIMARY, "sidebar.mode arg:0 show:1" }, | 102 | { "Show Bookmarks", '1', KMOD_PRIMARY, "sidebar.mode arg:0 show:1" }, |
103 | { "Show Bookmarks", '2', KMOD_PRIMARY, "sidebar.mode arg:1 show:1" }, | 103 | { "Show History", '2', KMOD_PRIMARY, "sidebar.mode arg:1 show:1" }, |
104 | { "Show History", '3', KMOD_PRIMARY, "sidebar.mode arg:2 show:1" }, | 104 | { "Show Identities", '3', KMOD_PRIMARY, "sidebar.mode arg:2 show:1" }, |
105 | { "Show Identities", '4', KMOD_PRIMARY, "sidebar.mode arg:3 show:1" }, | 105 | { "Show Page Outline", '4', KMOD_PRIMARY, "sidebar.mode arg:3 show:1" }, |
106 | { "Toggle Sidebar", SDLK_s, KMOD_PRIMARY | KMOD_ALT, "sidebar.toggle" }, | 106 | { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, |
107 | { "---", 0, 0, NULL }, | 107 | { "---", 0, 0, NULL }, |
108 | { "Go Back", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | 108 | { "Go Back", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, |
109 | { "Go Forward", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | 109 | { "Go Forward", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, |