summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-16 08:58:52 +0100
committerAndrew Dolgov <[email protected]>2008-05-16 08:58:52 +0100
commita80b05ea3399ade1e906cf358f75028cdc85af4a (patch)
treeab079c8b5f4f2decad1ffdeb4fdf35c92d0ab662
parent57f734c895afa449edcb6d36ebfd1516700556b5 (diff)
add dispatcher function to edit current entry in prefs
-rw-r--r--help/4.php1
-rw-r--r--prefs.js12
2 files changed, 13 insertions, 0 deletions
diff --git a/help/4.php b/help/4.php
index 0631ef17a..d452183f5 100644
--- a/help/4.php
+++ b/help/4.php
@@ -20,6 +20,7 @@
<table>
<tr><td class='n'>c s</td><td><?php echo __("Subscribe to feed") ?></td></tr>
+ <tr><td class='n'>c T</td><td><?php echo __("Top 25 feeds") ?></td></tr>
<tr><td class='n'>c c</td><td><?php echo __("Edit feed categories") ?></td></tr>
<tr><td class='n'>c f</td><td><?php echo __("Create filter") ?></td></tr>
<tr><td class='n'>c l</td><td><?php echo __("Create label") ?></td></tr>
diff --git a/prefs.js b/prefs.js
index 8c0b84127..78ec548a9 100644
--- a/prefs.js
+++ b/prefs.js
@@ -1773,6 +1773,14 @@ function pref_hotkey_handler(e) {
return editFeedCats();
}
+ if (keycode == 84 && shift_key) { // T
+ return browseFeeds();
+ }
+
+ if (keycode == 69) { // e
+ return editCurrentEntryDispatcher();
+ }
+
}
/* Prefix g */
@@ -2102,6 +2110,10 @@ function rescore_all_feeds() {
xmlhttp.onreadystatechange=notify_callback;
xmlhttp.send(null);
}
+}
+
+function editCurrentEntryDispatcher() {
+
}