diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-14 12:15:41 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-14 12:15:41 +0300 |
commit | bf390e96735a156cb221385cc057aeb957c088b9 (patch) | |
tree | 31dee87547bda83d54c998da3480174d2dfee816 /src/ui/window.c | |
parent | 67721eea67abc0da13cd3d346dc85f1d223da54d (diff) |
Adding and viewing bookmarks
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 3 |
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 | ||
94 | static const iMenuItem editMenuItems[] = { | 95 | static 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 | ||
98 | static const iMenuItem viewMenuItems[] = { | 101 | static const iMenuItem viewMenuItems[] = { |