From d87edbfc4907b0985b107e1432f73104eb66d356 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 1 Dec 2020 14:46:13 +0200 Subject: Added key shortcut for subscibing to page --- src/ui/window.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ui/window.c') 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_[] = { { "Open Location...", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, { "---", 0, 0, NULL }, { "Save to Downloads", SDLK_s, KMOD_PRIMARY, "document.save" }, - { "---", 0, 0, NULL }, { "Copy Source Text", SDLK_c, KMOD_PRIMARY, "copy" }, + { "---", 0, 0, NULL }, { "Bookmark Page", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, - { "Subscribe to Page", 0, 0, "bookmark.addtag tag:subscribed" }, + { "Subscribe to Page", subscribeToPage_KeyModifier, "bookmark.addtag tag:subscribed" }, + { "---", 0, 0, NULL }, + { "Show Feed Entries", 0, 0, "!open url:about:feeds" }, { "---", 0, 0, NULL }, { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, { "---", 0, 0, NULL }, - { "Show Feed Entries", 0, 0, "!open url:about:feeds" }, - { "---", 0, 0, NULL }, { "Preferences...", SDLK_COMMA, KMOD_PRIMARY, "preferences" }, { "Help", SDLK_F1, 0, "!open url:about:help" }, { "Release Notes", 0, 0, "!open url:about:version" }, @@ -160,7 +160,7 @@ static const iMenuItem viewMenuItems_[] = { static iMenuItem bookmarksMenuItems_[] = { { "Bookmark This Page...", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, { "---", 0, 0, NULL }, - { "Subscribe to This Page", 0, 0, "bookmark.addtag tag:subscribed" }, + { "Subscribe to This Page", subscribeToPage_KeyModifier, "bookmark.addtag tag:subscribed" }, { "---", 0, 0, NULL }, { "Show Feed Entries", 0, 0, "open url:about:feeds" }, { "Refresh Feeds", SDLK_r, KMOD_PRIMARY | KMOD_SHIFT, "feeds.refresh" }, -- cgit v1.2.3