[Pkg-mozext-commits] [nostalgy] 29/235: *** empty log message ***
David Prévot
taffit at alioth.debian.org
Tue Oct 8 20:41:31 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository nostalgy.
commit 6fdda84cca54230557a0969a61dbb80f77c493e4
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date: Fri Sep 1 17:55:06 2006 +0000
*** empty log message ***
git-svn-id: http://nostalgy.googlecode.com/svn/trunk@29 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
CHANGES | 1 +
content/about.xhtml | 1 +
content/nostalgy.js | 6 ++++++
content/thunderbirdOverlay.xul | 1 +
4 files changed, 9 insertions(+)
diff --git a/CHANGES b/CHANGES
index 916f90c..dde29e2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,7 @@
thread pane is focused)
- change pane-navigation commands (see about.xhtml)
- focus the thread pane when opening a folder with the G key
+ - add Esc-I to focus the search box
0.1.5
- add the commands:
diff --git a/content/about.xhtml b/content/about.xhtml
index 6549cba..afd7cdf 100644
--- a/content/about.xhtml
+++ b/content/about.xhtml
@@ -78,6 +78,7 @@
<tr><td>Esc-F</td><td>Focus the folder pane</td></tr>
<tr><td>Esc-M</td><td>Focus the message pane</td></tr>
<tr><td>Esc-Esc</td><td>Focus the thread pane</td></tr>
+ <tr><td>Esc-S</td><td>Focus the quick search box</td></tr>
<tr><td>Ctrl-Left/Right</td>
<td>Scroll the message from the thread pane</td></tr>
</table>
diff --git a/content/nostalgy.js b/content/nostalgy.js
index 0d92f80..444e920 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -311,6 +311,12 @@ function NostalgySelectMessagePane(ev) {
if (ev.timeStamp - NostalgyLastEscapeTimeStamp < 300) SetFocusMessagePane();
}
+function NostalgySelectSearch(ev) {
+ if (ev.timeStamp - NostalgyLastEscapeTimeStamp < 300) {
+ GetSearchInput().focus();
+ }
+}
+
window.addEventListener("load", onNostalgyLoad, false);
/* if (!in_message_window) {
window.addEventListener("keypress", onNostalgyKeyPress, false);
diff --git a/content/thunderbirdOverlay.xul b/content/thunderbirdOverlay.xul
index 88c362e..b2938c4 100644
--- a/content/thunderbirdOverlay.xul
+++ b/content/thunderbirdOverlay.xul
@@ -36,6 +36,7 @@
<key keycode="VK_ESCAPE" oncommand="NostalgyEscape(event);"/>
<key key="F" oncommand="NostalgySelectFolderPane(event);"/>
<key key="M" oncommand="NostalgySelectMessagePane(event);"/>
+ <key key="I" oncommand="NostalgySelectSearch(event);"/>
</keyset>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nostalgy.git
More information about the Pkg-mozext-commits
mailing list