[Companion] mail icon background ?

Brian mozdev at bkennelly.net
Tue Oct 5 23:01:18 EDT 2004


Dave Viner wrote:

>Hi all,
>
>Why does the image for the mail icon have a pink
>background?  Is this an artifact of converting the
>bitmap to a gif?  If so, can we re-convert with the
>proper settings so that the background is transparent?
>
>  
>
Yahoo! mail uses a new icon on English-US (yma1.bmp) that has not been 
converted to gif.  In other languages and locations (e.g. English-UK) it 
uses 02c.bmp, and the code converts it to env.gif. 

We can fix the problem by changing class_Button.js from:

     case "02c.bmp": // the Mail image
         this.img = "chrome://yahootoolbar/content/icons/env.gif";
         break;


to

     case "02c.bmp": // the Mail image
     case "yma1.bmp":   // New mail image
         this.img = "chrome://yahootoolbar/content/icons/env.gif";
         break;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/companion/attachments/20041005/ae8cf9f3/attachment.htm


More information about the Companion mailing list