[Pkg-mozext-commits] [nostalgy] 34/235: *** empty log message ***
David Prévot
taffit at alioth.debian.org
Tue Oct 8 20:41:32 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 91d43d3e053f19caaaae259673e7d526e9fc1dbd
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date: Sat Sep 9 07:33:27 2006 +0000
*** empty log message ***
git-svn-id: http://nostalgy.googlecode.com/svn/trunk@34 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
content/nostalgy.js | 21 +++++++++++++++++++--
content/thunderbirdOverlay.xul | 4 ++--
2 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/content/nostalgy.js b/content/nostalgy.js
index 916063b..366d574 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -328,9 +328,26 @@ function NostalgySelectSearch(ev) {
}
}
+function onNostalgyKeyPress(ev) {
+ if (ev.timeStamp - NostalgyLastEscapeTimeStamp < 300) {
+ if (ev.charCode == 109) { // M
+ SetFocusMessagePane();
+ ev.preventDefault();
+ } else
+ if (ev.charCode == 102) { // F
+ SetFocusFolderPane();
+ ev.preventDefault();
+ } else
+ if (ev.charCode == 105) { // I
+ GetSearchInput().focus();
+ ev.preventDefault();
+ }
+ }
+}
+
window.addEventListener("load", onNostalgyLoad, false);
window.addEventListener("resize", onNostalgyResize, false);
-/* if (!in_message_window) {
+if (!in_message_window) {
window.addEventListener("keypress", onNostalgyKeyPress, false);
-} */
+}
diff --git a/content/thunderbirdOverlay.xul b/content/thunderbirdOverlay.xul
index abb3f84..090be3a 100644
--- a/content/thunderbirdOverlay.xul
+++ b/content/thunderbirdOverlay.xul
@@ -39,9 +39,9 @@
oncommand="NostalgyScrollMsg(50);"/>
<key keycode="VK_ESCAPE" oncommand="NostalgyEscape(event);"/>
- <key key="F" oncommand="NostalgySelectFolderPane(event);"/>
+<!-- <key key="F" oncommand="NostalgySelectFolderPane(event);"/>
<key key="M" oncommand="NostalgySelectMessagePane(event);"/>
- <key key="I" oncommand="NostalgySelectSearch(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