diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-06 07:24:28 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-06 07:24:28 +0300 |
commit | e1eb4b1296bcd9964cb6edf6823fea4b3f9b9677 (patch) | |
tree | 00261c84a83b8d072ed3e447ddcfe8513771c603 /src/ui/window.c | |
parent | 366e3402da641dda87c865623caa6120d0eeb1e9 (diff) |
Toggling sidebar visibility with mode keys
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 66f1c513..dabf80de 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -128,10 +128,10 @@ static const iMenuItem identityMenuItems[] = { | |||
128 | }; | 128 | }; |
129 | 129 | ||
130 | static const iMenuItem viewMenuItems[] = { | 130 | static const iMenuItem viewMenuItems[] = { |
131 | { "Show Bookmarks", '1', KMOD_PRIMARY, "sidebar.mode arg:0 show:1" }, | 131 | { "Show Bookmarks", '1', KMOD_PRIMARY, "sidebar.mode arg:0 toggle:1" }, |
132 | { "Show History", '2', KMOD_PRIMARY, "sidebar.mode arg:1 show:1" }, | 132 | { "Show History", '2', KMOD_PRIMARY, "sidebar.mode arg:1 toggle:1" }, |
133 | { "Show Identities", '3', KMOD_PRIMARY, "sidebar.mode arg:2 show:1" }, | 133 | { "Show Identities", '3', KMOD_PRIMARY, "sidebar.mode arg:2 toggle:1" }, |
134 | { "Show Page Outline", '4', KMOD_PRIMARY, "sidebar.mode arg:3 show:1" }, | 134 | { "Show Page Outline", '4', KMOD_PRIMARY, "sidebar.mode arg:3 toggle:1" }, |
135 | { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, | 135 | { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, |
136 | { "---", 0, 0, NULL }, | 136 | { "---", 0, 0, NULL }, |
137 | { "Go Back", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | 137 | { "Go Back", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, |