hotkeys: change f c and f C to q and Q

This commit is contained in:
Andrew Dolgov 2008-05-18 04:54:49 +01:00
parent eec498c3d5
commit c17802891e
2 changed files with 16 additions and 2 deletions

View File

@ -41,8 +41,8 @@
<tr><td class='n'>f a</td><td><?php echo __("(Un)hide read feeds") ?></td></tr>
<tr><td class='n'>f s</td><td><?php echo __("Subscribe to feed") ?></td></tr>
<tr><td class='n'>f e</td><td><?php echo __("Edit feed") ?></td></tr>
<tr><td class='n'>f c</td><td><?php echo __("Mark feed as read") ?></td></tr>
<tr><td class='n'>f C</td><td><?php echo __("Mark all feeds as read") ?></td></tr>
<tr><td class='n'>q</td><td><?php echo __("Mark feed as read") ?></td></tr>
<tr><td class='n'>Q</td><td><?php echo __("Mark all feeds as read") ?></td></tr>
</table>
<h2><?php echo __("Go to...") ?></h2>

View File

@ -1092,6 +1092,20 @@ function hotkey_handler(e) {
}
}
if (keycode == 81 && shift_key) { // Q
if (typeof catchupAllFeeds != 'undefined') {
catchupAllFeeds();
return false;
}
}
if (keycode == 81) { // q
if (getActiveFeedId()) {
catchupCurrentFeed();
return false;
}
}
}
/* Prefix f */