From 90717c77b29c4a8ca0c3f49e9b4670b6fcbbe9d9 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 24 Apr 2021 15:36:05 +0300 Subject: Added "Show Downloads" and "Open Downloaded File" Contents of the Downloads folder can now be viewed as a directory index page. --- src/ui/window.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ui/window.c') diff --git a/src/ui/window.c b/src/ui/window.c index b400dced..086ab86e 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -195,6 +195,7 @@ static const iMenuItem navMenuItems_[] = { { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, { "---", 0, 0, NULL }, { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, + { "${menu.downloads}", 0, 0, "downloads.open" }, { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, { "---", 0, 0, NULL }, { leftHalf_Icon " ${menu.sidebar.left}", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, @@ -227,7 +228,8 @@ static const iMenuItem tabletNavMenuItems_[] = { { "---", 0, 0, NULL }, { book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, - { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:feeds" }, + { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, + { "${menu.downloads}", 0, 0, "downloads.open" }, { "---", 0, 0, NULL }, { gear_Icon " ${menu.preferences}", SDLK_COMMA, KMOD_PRIMARY, "preferences" }, { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, @@ -244,6 +246,7 @@ static const iMenuItem phoneNavMenuItems_[] = { { "---", 0, 0, NULL }, { book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, + { "${menu.downloads}", 0, 0, "downloads.open" }, { "---", 0, 0, NULL }, { gear_Icon " Settings...", SDLK_COMMA, KMOD_PRIMARY, "preferences" }, }; @@ -257,6 +260,8 @@ static const iMenuItem fileMenuItems_[] = { { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, { "---", 0, 0, NULL }, { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, + { "---", 0, 0, NULL }, + { "${menu.downloads}", 0, 0, "downloads.open" }, }; static const iMenuItem editMenuItems_[] = { -- cgit v1.2.3