1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 00:15:46 +01:00

Fixed muttator for recent TBs, minimum requirements are 3.0b2pre now

This commit is contained in:
Martin Stubenschrott
2009-02-04 14:51:29 +01:00
parent 125f3057e9
commit 5f5c437ddf
3 changed files with 33 additions and 32 deletions

View File

@@ -425,7 +425,7 @@ function Hints() //{{{
let beyondLastWord = (nextWordIdx == words.length);
let charMatched = false;
if (beyondLastWord == false)
charMatched = charMatches(nextCharIdx, chars, nextWordIdx, words, 0, allowWordOverleaping)
charMatched = charMatches(nextCharIdx, chars, nextWordIdx, words, 0, allowWordOverleaping)
if (charMatched)
return true;

View File

@@ -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())

View File

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