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

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:24:55 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 b79dcf473c7e866a66d241061cd128c2bdbadf38
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.
---
 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