[Pkg-mozext-commits] [nostalgy] 157/252: Working toward support for Postbox.

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:24:52 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 d4c97212177643a3d254b6d261d31763cd66b13f
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Thu Jun 11 22:40:29 2009 +0000

    Working toward support for Postbox.
---
 content/nostalgy.js | 5 ++++-
 install.rdf         | 8 ++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/content/nostalgy.js b/content/nostalgy.js
index 03dad21..9cbcc98 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -623,7 +623,6 @@ function NostalgyShowFolder(folder) {
     ViewChange(kViewTagMarker + folder.key, folder.tag);
     return true;
   }
-
   var folderTree = document.getElementById("folderTree");
   var totry = 1;
   var savedFolderView;
@@ -638,6 +637,10 @@ function NostalgyShowFolder(folder) {
         totry = window.gFolderTreeView._modeNames.length;
         savedFolderView = window.gFolderTreeView._modeNames.indexOf(window.gFolderTreeView.mode);
       }
+  } else {
+      // Postbox
+      ChangeSelection(folderTree, EnsureFolderIndex(folder));
+      return;
   }
   var search = "";
   var input = GetSearchInput();
diff --git a/install.rdf b/install.rdf
index d26e805..a51f528 100644
--- a/install.rdf
+++ b/install.rdf
@@ -16,5 +16,13 @@
                    em:optionsURL="chrome://nostalgy/content/edit_prefs.xul"
                    em:aboutURL="chrome://nostalgy/content/about.xul">
     <em:targetApplication RDF:resource="rdf:#$rVuKA2"/>
+    <em:targetApplication>
+      <!-- Postbox -->
+      <Description>
+        <em:id>postbox at postbox-inc.com</em:id>
+        <em:minVersion>1.0b13</em:minVersion>
+        <em:maxVersion>1.0.*</em:maxVersion>
+      </Description>
+    </em:targetApplication>
   </RDF:Description>
 </RDF:RDF>

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