summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-12-01 14:46:13 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-12-01 14:46:13 +0200
commitd87edbfc4907b0985b107e1432f73104eb66d356 (patch)
treeedcbda3753590d544a7f7e948b372b212fa4fe77 /src/ui/window.c
parent5538d31f897f5b394f314bf499513d559f56407f (diff)
Added key shortcut for subscibing to page
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 08644743..b3843a76 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -102,18 +102,18 @@ static const iMenuItem navMenuItems_[] = {
102 { "Open Location...", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 102 { "Open Location...", SDLK_l, KMOD_PRIMARY, "navigate.focus" },
103 { "---", 0, 0, NULL }, 103 { "---", 0, 0, NULL },
104 { "Save to Downloads", SDLK_s, KMOD_PRIMARY, "document.save" }, 104 { "Save to Downloads", SDLK_s, KMOD_PRIMARY, "document.save" },
105 { "---", 0, 0, NULL },
106 { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" }, 105 { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" },
106 { "---", 0, 0, NULL },
107 { "Bookmark Page", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, 107 { "Bookmark Page", SDLK_d, KMOD_PRIMARY, "bookmark.add" },
108 { "Subscribe to Page", 0, 0, "bookmark.addtag tag:subscribed" }, 108 { "Subscribe to Page", subscribeToPage_KeyModifier, "bookmark.addtag tag:subscribed" },
109 { "---", 0, 0, NULL },
110 { "Show Feed Entries", 0, 0, "!open url:about:feeds" },
109 { "---", 0, 0, NULL }, 111 { "---", 0, 0, NULL },
110 { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, 112 { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" },
111 { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 113 { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" },
112 { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, 114 { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" },
113 { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, 115 { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" },
114 { "---", 0, 0, NULL }, 116 { "---", 0, 0, NULL },
115 { "Show Feed Entries", 0, 0, "!open url:about:feeds" },
116 { "---", 0, 0, NULL },
117 { "Preferences...", SDLK_COMMA, KMOD_PRIMARY, "preferences" }, 117 { "Preferences...", SDLK_COMMA, KMOD_PRIMARY, "preferences" },
118 { "Help", SDLK_F1, 0, "!open url:about:help" }, 118 { "Help", SDLK_F1, 0, "!open url:about:help" },
119 { "Release Notes", 0, 0, "!open url:about:version" }, 119 { "Release Notes", 0, 0, "!open url:about:version" },
@@ -160,7 +160,7 @@ static const iMenuItem viewMenuItems_[] = {
160static iMenuItem bookmarksMenuItems_[] = { 160static iMenuItem bookmarksMenuItems_[] = {
161 { "Bookmark This Page...", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, 161 { "Bookmark This Page...", SDLK_d, KMOD_PRIMARY, "bookmark.add" },
162 { "---", 0, 0, NULL }, 162 { "---", 0, 0, NULL },
163 { "Subscribe to This Page", 0, 0, "bookmark.addtag tag:subscribed" }, 163 { "Subscribe to This Page", subscribeToPage_KeyModifier, "bookmark.addtag tag:subscribed" },
164 { "---", 0, 0, NULL }, 164 { "---", 0, 0, NULL },
165 { "Show Feed Entries", 0, 0, "open url:about:feeds" }, 165 { "Show Feed Entries", 0, 0, "open url:about:feeds" },
166 { "Refresh Feeds", SDLK_r, KMOD_PRIMARY | KMOD_SHIFT, "feeds.refresh" }, 166 { "Refresh Feeds", SDLK_r, KMOD_PRIMARY | KMOD_SHIFT, "feeds.refresh" },