diff --git a/include/functions.php b/include/functions.php old mode 100755 new mode 100644 index c09e62cca..963018858 --- a/include/functions.php +++ b/include/functions.php @@ -1203,6 +1203,7 @@ "goto_fresh" => __("Fresh"), "goto_marked" => __("Starred"), "goto_published" => __("Published"), + "goto_read" => __("Recently read"), "goto_tagcloud" => __("Tag cloud"), "goto_prefs" => __("Preferences")), __("Other") => array( @@ -1269,6 +1270,7 @@ "g f" => "goto_fresh", "g s" => "goto_marked", "g p" => "goto_published", + "g r" => "goto_read", "g t" => "goto_tagcloud", "g P" => "goto_prefs", "r" => "select_article_cursor", diff --git a/js/tt-rss.js b/js/tt-rss.js index a46fc17e4..eaedecd22 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -416,6 +416,9 @@ require(["dojo/_base/kernel", dijit.byId("feedTree").collapseCat(Feeds.getActive()); } }; + this.hotkey_actions["goto_read"] = function () { + Feeds.open({feed: -6}); + }; this.hotkey_actions["goto_all"] = function () { Feeds.open({feed: -4}); };