Hi, brian.
I fixed Thunderbird add-on's mime decode problem.
Here is the patch.
--- messengerOverlay.js.orig 2009-05-14 11:08:00.000000000 +0900
+++ messengerOverlay.js 2009-06-12 17:20:55.171875000 +0900
@@ -66,18 +66,18 @@
var match = regex.exec(author);
if(match) author = match[1];
- growlgntp.rssqueue.push
({type:"newrss",title:author,message:msg.subject,callbackContext:uri,callbackType:"rss"});
+ growlgntp.rssqueue.push
({type:"newrss",title:author,message:msg.mime2DecodedSubject,callbackContext:uri,callbackType:"rss"});
growlgntp.newrsstimer = window.setTimeout
(growlgntp.processRssQueue, 1000);
}
else{
if(growlgntp.newmailtimer) window.clearTimeout
(growlgntp.newmailtimer);
- var author = msg.author;
+ var author = msg.mime2DecodedAuthor;
var regex = /<([^>]*)>|"*([^<>"]*)/;
var match = regex.exec(author);
if(match) author = match[1] || match[2];
- growlgntp.mailqueue.push
({type:"newmail",title:author,message:msg.subject,callbackContext:uri,callbackType:"mail"});
+ growlgntp.mailqueue.push
({type:"newmail",title:author,message:msg.mime2DecodedSubject,callbackContext:uri,callbackType:"mail"});
growlgntp.newmailtimer = window.setTimeout
(growlgntp.processMailQueue, 1000);
}
}
@@ -193,4 +193,4 @@
}
}();
window.addEventListener("load", function(e) { growlgntp.onLoad(e); },
false);
-dump("growlgntp-thunderbird is loading");
\ No newline at end of file
+dump("growlgntp-thunderbird is loading");
----
snak...@gmail.com