[Pkg-mozext-commits] [nostalgy] 223/235: Prepare for distrib.
David Prévot
taffit at alioth.debian.org
Tue Oct 8 20:42: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 87792022324c03bba838fec22cb675cdec1920a0
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: http://nostalgy.googlecode.com/svn/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