[Pkg-mozext-commits] [nostalgy] 04/15: Prepare for distrib.

Guido Guenther agx at moszumanska.debian.org
Mon Jul 14 11:15:42 UTC 2014


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

agx pushed a commit to annotated tag debian/0.2.32-1
in repository nostalgy.

commit 02dd6d405d9e0c3cdc4873461e9497c695a43682
Author: alain.frisch <alain.frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Mon Mar 25 09:25:54 2013 +0000

    Prepare for distrib.
    
    git-svn-id: svn://frisch.fr/nostalgy/trunk@223 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
 CHANGES                | 1 +
 content/edit_prefs.js  | 3 +++
 content/edit_prefs.xul | 4 ++--
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/CHANGES b/CHANGES
index 1e1b69f..6d2358b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
 0.2.31
   - Fix for TB >= 20 (thanks to Aaron Solochek)
+  - Add hot keys for "Move up/down" in the rule edition popup (thanks to Michael vann Rooyen)
 
 0.2.30
   - Fix scrolling messages with Ctrl Up/Down.
diff --git a/content/edit_prefs.js b/content/edit_prefs.js
index 133fb22..f4830d5 100644
--- a/content/edit_prefs.js
+++ b/content/edit_prefs.js
@@ -321,6 +321,9 @@ function onNostalgyLoad() {
 }
 
 function onNostalgyKeyPress(ev) {
+  // We don't want to act on Meta.  Necessary from thunderbird 18 on.
+  if (ev.keyCode == KeyEvent.DOM_VK_META) return; 
+
   if (!nostalgy_wait_key && ((ev.keyCode == 46) || (ev.keyCode == 8))) NostalgyDoDelete();
   // should only to that in the relevant tab
 
diff --git a/content/edit_prefs.xul b/content/edit_prefs.xul
index bf4b087..3618269 100644
--- a/content/edit_prefs.xul
+++ b/content/edit_prefs.xul
@@ -57,8 +57,8 @@ shortcuts to move/copy the message to this folder.</label>
   <button label="Delete" accesskey="D" oncommand="NostalgyDoDelete();"/>
   <button label="New" accesskey="N" oncommand="NostalgyDoNewRule();"/>
   <separator orient="vertical"/>
-  <button label="Move up" oncommand="NostalgyDoMoveUp();"/>
-  <button label="Move down" oncommand="NostalgyDoMoveDown();"/>
+  <button label="Move up" accesskey="U" oncommand="NostalgyDoMoveUp();"/>
+  <button label="Move down" accesskey="W" oncommand="NostalgyDoMoveDown();"/>
   <separator orient="vertical"/>
   <button label="Export rules" oncommand="NostalgyExportRules();"/>
   <button label="Import rules" oncommand="NostalgyImportRules();"/>

-- 
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