diff options
author | Martin Stubenschrott <stubenschrott@gmx.net> | 2009-02-04 14:51:29 +0100 |
---|---|---|
committer | Martin Stubenschrott <stubenschrott@gmx.net> | 2009-02-04 14:51:29 +0100 |
commit | 5f5c437ddf02d9420730aa15b3db853cc6a63fa1 (patch) | |
tree | e521c8ae1a9b042975b0dfe116fd7ba8da942363 /muttator | |
parent | 125f3057e96bfec72dda7e30ba968510cbe1583d (diff) | |
download | pentadactyl-5f5c437ddf02d9420730aa15b3db853cc6a63fa1.tar.gz |
Fixed muttator for recent TBs, minimum requirements are 3.0b2pre now
Diffstat (limited to 'muttator')
-rw-r--r-- | muttator/content/mail.js | 7 | ||||
-rw-r--r-- | muttator/install.rdf | 56 |
2 files changed, 32 insertions, 31 deletions
diff --git a/muttator/content/mail.js b/muttator/content/mail.js index 61242230..1e523167 100644 --- a/muttator/content/mail.js +++ b/muttator/content/mail.js @@ -995,12 +995,13 @@ function Mail() //{{{ // TODO: find out why, and solve the problem try { - var msgs = folder.getMessages(msgWindow); + var msgs = folder.messages; } catch (e) { - liberator.dump("ERROR: " + folder.prettyName + " failed to getMessages\n"); - continue; + var msgs = folder.getMessages(msgWindow); // for older thunderbirds + liberator.dump("WARNING: " + folder.prettyName + " failed to getMessages, trying old API"); + //continue; } while (msgs.hasMoreElements()) diff --git a/muttator/install.rdf b/muttator/install.rdf index e02650d2..3785bda0 100644 --- a/muttator/install.rdf +++ b/muttator/install.rdf @@ -1,28 +1,28 @@ -<?xml version="1.0"?>
-
-<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
-
- <Description about="urn:mozilla:install-manifest">
- <em:id>muttator@mozdev.org</em:id>
- <em:name>Muttator</em:name>
- <em:version>###VERSION###</em:version>
- <em:description>Make Thunderbird behave like Vim</em:description>
- <em:creator>Martin Stubenschrott</em:creator>
- <em:homepageURL>http://vimperator.org/</em:homepageURL>
- <em:iconURL>chrome://muttator/skin/icon.png</em:iconURL>
- <em:file>
- <Description about="urn:mozilla:extension:file:vimperator.jar">
- <em:package>content/muttator/</em:package>
- </Description>
- </em:file>
-
- <em:targetApplication>
- <Description>
- <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
- <em:minVersion>3.0a1pre</em:minVersion>
- <em:maxVersion>3.0b2pre</em:maxVersion>
- </Description>
- </em:targetApplication>
-
- </Description>
-</RDF>
+<?xml version="1.0"?> + +<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> + + <Description about="urn:mozilla:install-manifest"> + <em:id>muttator@mozdev.org</em:id> + <em:name>Muttator</em:name> + <em:version>###VERSION###</em:version> + <em:description>Make Thunderbird behave like Vim</em:description> + <em:creator>Martin Stubenschrott</em:creator> + <em:homepageURL>http://vimperator.org/</em:homepageURL> + <em:iconURL>chrome://muttator/skin/icon.png</em:iconURL> + <em:file> + <Description about="urn:mozilla:extension:file:vimperator.jar"> + <em:package>content/muttator/</em:package> + </Description> + </em:file> + + <em:targetApplication> + <Description> + <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> + <em:minVersion>3.0b2pre</em:minVersion> + <em:maxVersion>3.0b2</em:maxVersion> + </Description> + </em:targetApplication> + + </Description> +</RDF> |