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

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:24:36 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 59f4f25ba968ed5d7bbe199ca15d3c59fd5336b7
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Tue Jul 18 06:35:23 2006 +0000

    *** empty log message ***
---
 CHANGES            |  5 +++++
 TODO               |  3 +++
 content/overlay.js | 10 +++++++++-
 install.rdf        |  4 ++--
 4 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/CHANGES b/CHANGES
index 41ca59a..19b44c7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+0.1.4
+  - fixed this bug: folders where duplicated in the completion
+    box as many times as there were POP3 accounts stored together
+    with the "Local Mail" account.
+
 0.1.3
   - better displayed names for folder (no more %20 for local folders)
   - better treatment of Escape
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..317efd0
--- /dev/null
+++ b/TODO
@@ -0,0 +1,3 @@
+- Allow the "S" and "C" commands to work in the Message window.
+- Allow the user to define keyboard shortcuts to save messages to
+  specified folders with a single keystroke.
\ No newline at end of file
diff --git a/content/overlay.js b/content/overlay.js
index bf7563c..d897978 100644
--- a/content/overlay.js
+++ b/content/overlay.js
@@ -119,12 +119,20 @@ function IterateFolders(f) {
  var amService = 
     Components.classes["@mozilla.org/messenger/account-manager;1"]
               .getService(Components.interfaces.nsIMsgAccountManager);
+
  var servers= amService.allServers;
+ var seen = { };
  for (i = 0; i < servers.Count(); i++) {
   var server = servers.GetElementAt(i).
                QueryInterface(Components.interfaces.nsIMsgIncomingServer);
   var root = server.rootMsgFolder;
-  IterateSubfolders(root,f);
+  var n = root.prettyName;
+  if (seen[n]) {
+    // Prevent duplicate folders in case of locally stored POP3 accounts
+  } else {
+    seen[n] = true;
+    IterateSubfolders(root,f);
+  }
  }
 }
 
diff --git a/install.rdf b/install.rdf
index be9bbb2..fafe396 100644
--- a/install.rdf
+++ b/install.rdf
@@ -4,7 +4,7 @@
   <Description about="urn:mozilla:install-manifest">
     <em:id>nostalgy at alain.frisch</em:id>
     <em:name>Nostalgy</em:name>
-    <em:version>0.1.3</em:version>
+    <em:version>0.1.4</em:version>
     <em:creator>Alain Frisch</em:creator>
     <em:description>Adds shortcuts to change folder, move message, with folder completion</em:description>
     <em:homepageURL>http://www.eleves.ens.fr/home/frisch/soft_mozilla.html</em:homepageURL>
@@ -12,7 +12,7 @@
       <Description>
         <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <!-- thunderbird -->
         <em:minVersion>1.5</em:minVersion>
-        <em:maxVersion>1.5.0.*</em:maxVersion>
+        <em:maxVersion>2.*</em:maxVersion>
       </Description>
     </em:targetApplication>
   </Description>

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