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

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:24:46 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 2284578ecb0505802c5a1af63c8bce591db01c16
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Sat Jun 2 19:07:50 2007 +0000

    *** empty log message ***
---
 CHANGES               | 1 +
 content/edit_rule.xul | 2 ++
 content/folders.js    | 8 +++++---
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/CHANGES b/CHANGES
index e2c8ed1..30da183 100644
--- a/CHANGES
+++ b/CHANGES
@@ -14,6 +14,7 @@ Since 0.2.13
   - new "Save and Go" feature
 
   - double-clicking on a rule in the pref dialog to edit it
+  - in the rule edit dialog, don't let folder completion captures TAB
   - make Nostalgy work with TB 3.0 (tested with 3.0a1pre)
   - Thunderbirds shortcuts that are hidden by Nostalgy can now
     be used (type "Escape" before)
diff --git a/content/edit_rule.xul b/content/edit_rule.xul
index a8f68f4..3151b96 100644
--- a/content/edit_rule.xul
+++ b/content/edit_rule.xul
@@ -41,12 +41,14 @@
     <row>
       <label value="when message is under folder"/>
       <textbox type="autocomplete" id="underselect"
+               normaltab="true"
                nostalgyfolderbox="ChooseUnder();"/>
     </row>
 
     <row>
       <label value="then save to"/>
       <textbox type="autocomplete" id="folderselect"
+             normaltab="true"
              nostalgyfolderbox="ChooseFolder();"/>
     </row>
   </rows>
diff --git a/content/folders.js b/content/folders.js
index 1e63984..73b10ce 100644
--- a/content/folders.js
+++ b/content/folders.js
@@ -210,15 +210,17 @@ function NostalgyProcessKeyPress(aEvent) {
   var killEvent = false;
   switch (aEvent.keyCode) {
    case KeyEvent.DOM_VK_TAB:
-     if (nostalgy_completion_options.tab_shell_completion) {
+     if (this.getAttribute("normaltab") != "true") {
+      if (nostalgy_completion_options.tab_shell_completion) {
        this.shell_completion = true;
        this.value = NostalgyCompleteUnique(this.value); 
        this.processInput();
        killEvent = true;
-     }
-     else {
+      }
+      else {
        this.clearTimer();
        killEvent = this.keyNavigation(aEvent);
+      }
      }
      break;              
               

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