Subject: Re: Star colour - use a resource editor to change it
Date: Tue, 12 Mar 2013 19:49:02 -0400
From: markfilipak.mozilla
To: support-thunderbird
> On 2013/3/12 11:24 AM, Axel Grude wrote:
>> On 08/03/2013 17:18, Mark Filipak wrote:
>>> That star graphic is buried in TBird somewhere. If you can get a resource editor (a
>>> developer's tool that is sometimes released for public use for free) for the OS you're
>>> running (Windows GUI, the various X-Windows GUIs), you can change any graphic used in
>>> TBird's graphical user interface, including the color of that star. The trick is,
>>> finding the star in the TBird executable or one of the libraries. The resource editor
>>> should be able to help you find it, also.
>> If you go that way, use DOM inspector to find out where it is.
>
> A DOM inspector? For an email program? How?
>
Thnderbird is just not "an email program" it is a XULrunner application as well.
As it is based on XUL (and rendered with the FIrefox Gecko engine), which is a
powerful dialect of XML / XHTML it has a document tree like any of the content (mails,
web pages) it can render. The Addon "DOM inspector" can be used both to investigate
the DOM tree in content (emails) and chrome (the application) context.
The power of addons being able to manipulate chrome context is super-awesome and
super-powerful, and useful not only for developers but also the _free_ user.
As regards manipulating the star image itself, of course that is one way to do it, but
it would probably be way easier to change the rule that points to it. Especially as
you will loose any changes you made to resources (images) as soon as tb updates
itself. userChrome.css is the golden bridge to unbridled customization.
hth
Axel