[Pkg-mozext-commits] [nostalgy] 09/19: Fix for TB 31.

David Prévot taffit at moszumanska.debian.org
Sat Aug 9 20:06:29 UTC 2014


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

taffit pushed a commit to branch master
in repository nostalgy.

commit 23f3c3e688aa11fa2f1cea435c7a67d913ea6df3
Author: alain.frisch <alain.frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Wed Jul 23 12:03:37 2014 +0000

    Fix for TB 31.
    
    git-svn-id: http://nostalgy.googlecode.com/svn/trunk@232 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
 content/edit_prefs.xul         | 1 +
 content/edit_rule.xul          | 2 ++
 content/folders.js             | 4 ++++
 content/messageOverlay.xul     | 1 +
 content/thunderbirdOverlay.xul | 1 +
 5 files changed, 9 insertions(+)

diff --git a/content/edit_prefs.xul b/content/edit_prefs.xul
index ef17467..43e6279 100644
--- a/content/edit_prefs.xul
+++ b/content/edit_prefs.xul
@@ -112,6 +112,7 @@ shortcuts to move/copy the message to this folder.</label>
   </radiogroup>
   <textbox style="width:600px" type="autocomplete" id="folderselect"
            autocompletesearch="nostalgy-autocomplete"
+           completeselectedindex="true"
            nostalgyfolderbox="NostalgySelectFolder();"/>
   <button label="Create"  oncommand="NostalgySelectFolder();"/>
   </hbox>
diff --git a/content/edit_rule.xul b/content/edit_rule.xul
index 2820efc..51a5811 100644
--- a/content/edit_rule.xul
+++ b/content/edit_rule.xul
@@ -42,6 +42,7 @@
       <label value="when message is under folder"/>
       <textbox type="autocomplete" id="underselect"
                normaltab="true"
+               completeselectedindex="true"
                autocompletesearch="nostalgy-autocomplete"
                nostalgyfolderbox="NostalgyChooseUnder();"/>
     </row>
@@ -50,6 +51,7 @@
       <label value="then save to"/>
       <textbox type="autocomplete" id="folderselect"
              normaltab="true"
+             completeselectedindex="true"
              autocompletesearch="nostalgy-autocomplete"
              nostalgyfolderbox="NostalgyChooseFolder();"/>
     </row>
diff --git a/content/folders.js b/content/folders.js
index e126009..beac36c 100644
--- a/content/folders.js
+++ b/content/folders.js
@@ -183,6 +183,7 @@ function NostalgyGetAutoCompleteValuesFunction(box) {
   };
 }
 
+/*
 function NostalgyStartLookup() {
     // Copy from autocomplete.xml, but does not exit early if box is empty
     var str = this.currentSearchString;
@@ -275,6 +276,7 @@ function NostalgyProcessKeyPress(aEvent) {
   if (killEvent) NostalgyStopEvent(aEvent);
   return true;
 }
+*/
 
 function NostalgyFolderSelectionBox(box) {
  var cmd = box.getAttribute("nostalgyfolderbox");
@@ -295,9 +297,11 @@ function NostalgyFolderSelectionBox(box) {
      .wrappedJSObject;
  nac.attachGetValuesFunction(NostalgyGetAutoCompleteValuesFunction(box));
  box.searchParam = nac.attachGetValuesFunction(NostalgyGetAutoCompleteValuesFunction(box));
+  /*
  box.processInput = NostalgyProcessInput;
  box.processKeyPress = NostalgyProcessKeyPress;
  box.startLookup = NostalgyStartLookup;
+ */
 }
 
 function NostalgyFolderSelectionBoxes() {
diff --git a/content/messageOverlay.xul b/content/messageOverlay.xul
index 2606588..f9ee795 100644
--- a/content/messageOverlay.xul
+++ b/content/messageOverlay.xul
@@ -31,6 +31,7 @@
 	   ontextcommand="NostalgyRunCommand();"
 	   ontextreverted="NostalgyHide(true);"
 	   ontextrevert="NostalgyHide(true);"
+           completeselectedindex="true"
 	   flex="1"
 	   maxrows="25" crop="center"
            />
diff --git a/content/thunderbirdOverlay.xul b/content/thunderbirdOverlay.xul
index b911fc2..6a13ad2 100644
--- a/content/thunderbirdOverlay.xul
+++ b/content/thunderbirdOverlay.xul
@@ -44,6 +44,7 @@
 	   ontextcommand="NostalgyRunCommand();"
 	   ontextreverted="NostalgyHide(true);"
 	   ontextrevert="NostalgyHide(true);"
+           completeselectedindex="true"
 	   flex="1"
 	   maxrows="25" crop="center"
            />

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