[Pkg-mozext-commits] [nostalgy] 179/235: Fix the Escape-key detection for TB3.

David Prévot taffit at alioth.debian.org
Tue Oct 8 20:42:18 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 5aed4f6c2c28b69cb52a6649bf0a24e3b2e9c901
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Mon Dec 14 20:49:21 2009 +0000

    Fix the Escape-key detection for TB3.
    
    git-svn-id: http://nostalgy.googlecode.com/svn/trunk@179 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
 content/nostalgy.js            |    3 +++
 content/thunderbirdOverlay.xul |    2 --
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/content/nostalgy.js b/content/nostalgy.js
index a6b3e4c..10f9211 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -966,6 +966,9 @@ function NostalgySearchMode(current,dir) {
 }
 
 function onNostalgyKeyPressCapture(ev) {
+    if (ev.keyCode == KeyEvent.DOM_VK_ESCAPE)
+        NostalgyEscape();
+
   var focused = "";
   try { focused = document.commandDispatcher.focusedElement.nodeName; }
   catch (ex) { }
diff --git a/content/thunderbirdOverlay.xul b/content/thunderbirdOverlay.xul
index 3309c32..c69aa69 100644
--- a/content/thunderbirdOverlay.xul
+++ b/content/thunderbirdOverlay.xul
@@ -31,8 +31,6 @@
        oncommand="NostalgyScrollMsg(-50);"/>
   <key keycode="VK_RIGHT" modifiers="shift"
        oncommand="NostalgyScrollMsg(50);"/>
-
-  <key keycode="VK_ESCAPE" oncommand="NostalgyEscape();"/>
  </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