[Pkg-mozext-commits] [nostalgy] 11/15: Adapt to TB 26.

Guido Guenther agx at moszumanska.debian.org
Mon Jul 14 11:15:43 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 902df348288c66d77d34c747966fd8ea8e57eac6
Author: alain.frisch <alain.frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Mon Dec 16 14:34:45 2013 +0000

    Adapt to TB 26.
    
    git-svn-id: svn://frisch.fr/nostalgy/trunk@230 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
 CHANGES            | 2 +-
 content/folders.js | 8 +++++++-
 install.rdf        | 4 ++--
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/CHANGES b/CHANGES
index cae2ebc..3f99da6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,5 @@
 0.2.32
-  - Modernize code and prepare for TB 26.0 (thanks to Jens Hatlak)
+  - Modernize code and adapt for TB 26.0 (thanks to Jens Hatlak)
 
 0.2.31
   - Fix for TB >= 20 (thanks to Aaron Solochek)
diff --git a/content/folders.js b/content/folders.js
index c703b14..e126009 100644
--- a/content/folders.js
+++ b/content/folders.js
@@ -194,10 +194,16 @@ function NostalgyStartLookup() {
     this.mFailureItems = 0;
     this.mDefaultMatchFilled = false; // clear out our prefill state.
 
+    // Notify the input that the search is beginning.
+    this.onSearchBegin();
+
     // tell each session to start searching...
     for (var name in this.mSessions)
         try {
-            this.mSessions[name].onStartLookup(str, this.mLastResults[name], this.mListeners[name]);
+          if (this.mAutoCompleteObserver)
+            this.mSessions[name].startSearch(str, this.searchParam, this.mLastResults[name], this.mAutoCompleteObserver); // TB 26
+          else
+            this.mSessions[name].onStartLookup(str, this.mLastResults[name], this.mListeners[name]); // TB 24
         } catch (e) {
             --this.mSessionReturns;
             this.searchFailed();
diff --git a/install.rdf b/install.rdf
index a2104fe..6386f32 100644
--- a/install.rdf
+++ b/install.rdf
@@ -5,7 +5,7 @@
   <RDF:Description RDF:about="urn:mozilla:install-manifest"
                    em:id="nostalgy at alain.frisch"
                    em:name="Nostalgy"
-                   em:version="0.2.34"
+                   em:version="0.2.32"
                    em:creator="Alain Frisch"
                    em:description="Adds shortcuts to change folder, move message, with folder completion"
                    em:homepageURL="http://alain.frisch.fr/soft_mozilla.html"
@@ -17,7 +17,7 @@
       <Description>
         <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
         <em:minVersion>1.5</em:minVersion>
-        <em:maxVersion>20.*</em:maxVersion>
+        <em:maxVersion>26.*</em:maxVersion>
       </Description>
     </em:targetApplication>
     <em:targetApplication>

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