[Pkg-mozext-commits] [nostalgy] 33/252: *** empty log message ***

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:24:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository nostalgy.

commit 58c93a3b7fbfed95db59637b88aeacf4fabcf666
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Sat Sep 9 07:33:27 2006 +0000

    *** empty log message ***
---
 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