summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-14 12:15:41 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-14 12:15:41 +0300
commitbf390e96735a156cb221385cc057aeb957c088b9 (patch)
tree31dee87547bda83d54c998da3480174d2dfee816 /src/ui/window.c
parent67721eea67abc0da13cd3d346dc85f1d223da54d (diff)
Adding and viewing bookmarks
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 112b44eb..4f59ef1a 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -72,6 +72,7 @@ static const iMenuItem navMenuItems[] = {
72 { "Open Location...", SDLK_l, KMOD_PRIMARY, "focus.set id:url" }, 72 { "Open Location...", SDLK_l, KMOD_PRIMARY, "focus.set id:url" },
73 { "---", 0, 0, NULL }, 73 { "---", 0, 0, NULL },
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 { "---", 0, 0, NULL }, 76 { "---", 0, 0, NULL },
76 { "Toggle Sidebar", SDLK_s, KMOD_PRIMARY | KMOD_ALT, "sidebar.toggle" }, 77 { "Toggle Sidebar", SDLK_s, KMOD_PRIMARY | KMOD_ALT, "sidebar.toggle" },
77 { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 78 { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" },
@@ -93,6 +94,8 @@ static const iMenuItem fileMenuItems[] = {
93 94
94static const iMenuItem editMenuItems[] = { 95static const iMenuItem editMenuItems[] = {
95 { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" }, 96 { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" },
97 { "---", 0, 0, NULL },
98 { "Bookmark This Page", SDLK_d, KMOD_PRIMARY, "bookmark.add" },
96}; 99};
97 100
98static const iMenuItem viewMenuItems[] = { 101static const iMenuItem viewMenuItems[] = {