change hotkeys r and f u to R and r

master
Andrew Dolgov 17 years ago
parent bd7ad16ce0
commit c239b26b3a

@ -33,10 +33,10 @@
<h2><?php echo __("Feed actions") ?></h2> <h2><?php echo __("Feed actions") ?></h2>
<table> <table>
<tr><td class='n'>r</td><td><?php echo __("Update active feed") ?></td></tr>
<tr><td class='n'>R</td><td><?php echo __("Update all feeds") ?></td></tr>
<tr><td class='n'>f a</td><td><?php echo __("(Un)hide read feeds") ?></td></tr> <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 s</td><td><?php echo __("Subscribe to feed") ?></td></tr>
<tr><td class='n'>f u</td><td><?php echo __("Update feed") ?></td></tr>
<tr><td class='n'>f U</td><td><?php echo __("Update all feeds") ?></td></tr>
<tr><td class='n'>f e</td><td><?php echo __("Edit 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 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'>f C</td><td><?php echo __("Mark all feeds as read") ?></td></tr>

@ -986,10 +986,16 @@ function hotkey_handler(e) {
return displayDlg("search", getActiveFeedId() + ":" + activeFeedIsCat()); return displayDlg("search", getActiveFeedId() + ":" + activeFeedIsCat());
} }
if (keycode == 82) { // r if (keycode == 82 && shift_key) { // R
return scheduleFeedUpdate(true); return scheduleFeedUpdate(true);
} }
if (keycode == 82) { // r
if (getActiveFeedId()) {
return viewfeed(getActiveFeedId(), "ForceUpdate");
}
}
if (keycode == 74) { // j if (keycode == 74) { // j
var feed = getActiveFeedId(); var feed = getActiveFeedId();
var new_feed = getRelativeFeedId(feedlist, feed, 'prev'); var new_feed = getRelativeFeedId(feedlist, feed, 'prev');

Loading…
Cancel
Save