1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-10 19:23:32 +02: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 beyondLastWord = (nextWordIdx == words.length);
let charMatched = false; let charMatched = false;
if (beyondLastWord == false) if (beyondLastWord == false)
charMatched = charMatches(nextCharIdx, chars, nextWordIdx, words, 0, allowWordOverleaping) charMatched = charMatches(nextCharIdx, chars, nextWordIdx, words, 0, allowWordOverleaping)
if (charMatched) if (charMatched)
return true; return true;

View File

@@ -995,12 +995,13 @@ function Mail() //{{{
// TODO: find out why, and solve the problem // TODO: find out why, and solve the problem
try try
{ {
var msgs = folder.getMessages(msgWindow); var msgs = folder.messages;
} }
catch (e) catch (e)
{ {
liberator.dump("ERROR: " + folder.prettyName + " failed to getMessages\n"); var msgs = folder.getMessages(msgWindow); // for older thunderbirds
continue; liberator.dump("WARNING: " + folder.prettyName + " failed to getMessages, trying old API");
//continue;
} }
while (msgs.hasMoreElements()) while (msgs.hasMoreElements())

View File

@@ -1,28 +1,28 @@
<?xml version="1.0"?> <?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#"> <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"> <Description about="urn:mozilla:install-manifest">
<em:id>muttator@mozdev.org</em:id> <em:id>muttator@mozdev.org</em:id>
<em:name>Muttator</em:name> <em:name>Muttator</em:name>
<em:version>###VERSION###</em:version> <em:version>###VERSION###</em:version>
<em:description>Make Thunderbird behave like Vim</em:description> <em:description>Make Thunderbird behave like Vim</em:description>
<em:creator>Martin Stubenschrott</em:creator> <em:creator>Martin Stubenschrott</em:creator>
<em:homepageURL>http://vimperator.org/</em:homepageURL> <em:homepageURL>http://vimperator.org/</em:homepageURL>
<em:iconURL>chrome://muttator/skin/icon.png</em:iconURL> <em:iconURL>chrome://muttator/skin/icon.png</em:iconURL>
<em:file> <em:file>
<Description about="urn:mozilla:extension:file:vimperator.jar"> <Description about="urn:mozilla:extension:file:vimperator.jar">
<em:package>content/muttator/</em:package> <em:package>content/muttator/</em:package>
</Description> </Description>
</em:file> </em:file>
<em:targetApplication> <em:targetApplication>
<Description> <Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>3.0a1pre</em:minVersion> <em:minVersion>3.0b2pre</em:minVersion>
<em:maxVersion>3.0b2pre</em:maxVersion> <em:maxVersion>3.0b2</em:maxVersion>
</Description> </Description>
</em:targetApplication> </em:targetApplication>
</Description> </Description>
</RDF> </RDF>