]> git.wh0rd.org Git - tt-rss.git/commitdiff
new hotkey: c l - create label
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Jan 2009 18:15:03 +0000 (19:15 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Jan 2009 18:15:03 +0000 (19:15 +0100)
help/3.php
tt-rss.js

index 2290cb536f18fb8b92ea0c1395b878eb482dae86..64ea490d8a6977be10394f1518d9cbbfb7c4d784 100644 (file)
@@ -27,7 +27,7 @@
 
        <table>
                <tr><td class='n'>[tab]</td><td><?php echo __("Select article under mouse cursor") ?></td></tr>
-
+               <tr><td class='n'>c l</td><td><?php echo __("Create label") ?></td></tr>
                <tr><td class='n'>c f</td><td><?php echo __("Create filter") ?></td></tr>
                <tr><td class='n'>c s</td><td><?php echo __("Collapse sidebar") ?></td></tr>
                <tr><td class='n'>c m</td><td><?php echo __("Toggle category reordering mode") ?></td></tr>
index 4004ae8f21179e79f9bf2815279ed54b684cb424..37b6a47b26f9addcb1a523a1c7e229aec6e9ce87 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -1292,6 +1292,11 @@ function hotkey_handler(e) {
                                return false;
                        }
 
+                       if (keycode == 76) { // l
+                               addLabel();
+                               return false;
+                       }
+
                        if (keycode == 83) { // s
                                if (typeof collapse_feedlist != 'undefined') {
                                        collapse_feedlist();