diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-17 21:46:55 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-17 21:46:55 +0200 |
commit | c8791b2a0537142a124347cabd95eac36bb59c70 (patch) | |
tree | 4af2dd3d9337bc53781389057d5de3b022c6d289 /src/ui/window.c | |
parent | 0081bb4511d8799fa46639877b57a6f2cbf38925 (diff) |
Reorganized menus; added new bookmark list items
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index c2d43aae..a16976b5 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -104,17 +104,18 @@ static const iMenuItem navMenuItems_[] = { | |||
104 | { "Save to Downloads", SDLK_s, KMOD_PRIMARY, "document.save" }, | 104 | { "Save to Downloads", SDLK_s, KMOD_PRIMARY, "document.save" }, |
105 | { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" }, | 105 | { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" }, |
106 | { "---", 0, 0, NULL }, | 106 | { "---", 0, 0, NULL }, |
107 | { "Bookmark Page", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | ||
108 | { "Subscribe to Page", subscribeToPage_KeyModifier, "feeds.subscribe" }, | ||
109 | { "---", 0, 0, NULL }, | ||
110 | { "Show Feed Entries", 0, 0, "!open url:about:feeds" }, | ||
111 | { "---", 0, 0, NULL }, | ||
112 | { "Toggle Left Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, | 107 | { "Toggle Left Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, |
113 | { "Toggle Right Sidebar", SDLK_p, KMOD_PRIMARY | KMOD_SHIFT, "sidebar2.toggle" }, | 108 | { "Toggle Right Sidebar", SDLK_p, KMOD_PRIMARY | KMOD_SHIFT, "sidebar2.toggle" }, |
114 | { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | 109 | { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, |
115 | { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | 110 | { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, |
116 | { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | 111 | { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, |
117 | { "---", 0, 0, NULL }, | 112 | { "---", 0, 0, NULL }, |
113 | { "List All Bookmarks", 0, 0, "!open url:about:bookmarks" }, | ||
114 | { "List Bookmarks by Tag", 0, 0, "!open url:about:bookmarks?tags" }, | ||
115 | { "List Bookmarks by Creation Time", 0, 0, "!open url:about:bookmarks?created" }, | ||
116 | { "---", 0, 0, NULL }, | ||
117 | { "Show Feed Entries", 0, 0, "!open url:about:feeds" }, | ||
118 | { "---", 0, 0, NULL }, | ||
118 | { "Preferences...", SDLK_COMMA, KMOD_PRIMARY, "preferences" }, | 119 | { "Preferences...", SDLK_COMMA, KMOD_PRIMARY, "preferences" }, |
119 | { "Help", SDLK_F1, 0, "!open url:about:help" }, | 120 | { "Help", SDLK_F1, 0, "!open url:about:help" }, |
120 | { "Release Notes", 0, 0, "!open url:about:version" }, | 121 | { "Release Notes", 0, 0, "!open url:about:version" }, |
@@ -162,7 +163,11 @@ static const iMenuItem viewMenuItems_[] = { | |||
162 | static iMenuItem bookmarksMenuItems_[] = { | 163 | static iMenuItem bookmarksMenuItems_[] = { |
163 | { "Bookmark This Page...", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | 164 | { "Bookmark This Page...", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, |
164 | { "---", 0, 0, NULL }, | 165 | { "---", 0, 0, NULL }, |
165 | { "Subscribe to This Page", subscribeToPage_KeyModifier, "feeds.subscribe" }, | 166 | { "List All", 0, 0, "open url:about:bookmarks" }, |
167 | { "List by Tag", 0, 0, "open url:about:bookmarks?tags" }, | ||
168 | { "List by Creation Time", 0, 0, "open url:about:bookmarks?created" }, | ||
169 | { "---", 0, 0, NULL }, | ||
170 | { "Subscribe to This Page...", subscribeToPage_KeyModifier, "feeds.subscribe" }, | ||
166 | { "---", 0, 0, NULL }, | 171 | { "---", 0, 0, NULL }, |
167 | { "Show Feed Entries", 0, 0, "open url:about:feeds" }, | 172 | { "Show Feed Entries", 0, 0, "open url:about:feeds" }, |
168 | { "Refresh Feeds", SDLK_r, KMOD_PRIMARY | KMOD_SHIFT, "feeds.refresh" }, | 173 | { "Refresh Feeds", SDLK_r, KMOD_PRIMARY | KMOD_SHIFT, "feeds.refresh" }, |