summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-03 07:03:04 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-03 07:03:04 +0300
commit311a59df5552ae7ad52e1f001487112a300889c0 (patch)
tree8c6d264cc77a93c261ca30f1cad4105f2a787eff /src/ui/root.c
parent89918c7e98d47957a7804e23bb1b4c7914950d2d (diff)
Added menu items for view splitting
Diffstat (limited to 'src/ui/root.c')
-rw-r--r--src/ui/root.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index 17682125..cf109fc8 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -71,6 +71,7 @@ static const iMenuItem navMenuItems_[] = {
71 { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 71 { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" },
72 { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, 72 { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" },
73 { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, 73 { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" },
74 { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" },
74 { "---", 0, 0, NULL }, 75 { "---", 0, 0, NULL },
75 { book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, 76 { book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" },
76 { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, 77 { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" },
@@ -95,6 +96,7 @@ static const iMenuItem tabletNavMenuItems_[] = {
95 { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, 96 { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" },
96 { leftHalf_Icon " ${menu.sidebar.left}", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, 97 { leftHalf_Icon " ${menu.sidebar.left}", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" },
97 { rightHalf_Icon " ${menu.sidebar.right}", SDLK_p, KMOD_PRIMARY | KMOD_SHIFT, "sidebar2.toggle" }, 98 { rightHalf_Icon " ${menu.sidebar.right}", SDLK_p, KMOD_PRIMARY | KMOD_SHIFT, "sidebar2.toggle" },
99 { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" },
98 { "---", 0, 0, NULL }, 100 { "---", 0, 0, NULL },
99 { book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, 101 { book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" },
100 { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, 102 { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" },