Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Local Folders

25 views
Skip to first unread message

Mr Joker

unread,
Aug 1, 2008, 6:05:16 PM8/1/08
to
Is there any way to change the color of just Local Folders?

Ken Whiton

unread,
Aug 2, 2008, 2:48:28 AM8/2/08
to
*-* On Fri, 01 Aug 2008, at 15:05:16 -0700,
*-* In Article PoydnUEAlNzNGg7V...@mozilla.org,
*-* Mr Joker wrote
*-* About Local Folders

> Is there any way to change the color of just Local Folders?

What color? Do you mean the color of that particular name in the
Folders list? Do you mean the color of the names of the folders
contained within Local Folders? Do you mean the colors of the icons
representing either of the above? Or do you mean something else
entirely? Until you're somewhat more specific your question can't
begin to be answered.

Ken Whiton

FIDO: 1:132/152
InterNet: kenw...@surfglobal.net.INVAL (remove the obvious to reply)

Mr Joker

unread,
Aug 2, 2008, 12:15:14 PM8/2/08
to

I want the name Local Folders another color

Ken Whiton

unread,
Aug 3, 2008, 12:53:17 AM8/3/08
to
*-* On Sat, 02 Aug 2008, at 09:15:14 -0700,
*-* In Article q9KdnfEbCf1bGwnV...@mozilla.org,
*-* Mr Joker wrote
*-* About Re: Local Folders

> Ken Whiton wrote:
>> *-* Mr Joker wrote

>>> Is there any way to change the color of just Local Folders?

>> What color? Do you mean the color of that particular name in
>> the Folders list? Do you mean the color of the names of the
>> folders contained within Local Folders? Do you mean the colors of
>> the icons representing either of the above? Or do you mean
>> something else entirely? Until you're somewhat more specific your
>> question can't begin to be answered.

> I want the name Local Folders another color

I don't know for sure, but I think it should be possible. Last
January there was a thread here where someone else was trying to do
something similar. During that thread a couple of extensions were
mentioned as possible enablers, Mail Tweak and Stylish. Based on a
follow-up post from the original poster, it appears that Mail Tweak
did what he wanted.

http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/6e6451cd3b9f6f70
http://mailtweak.mozdev.org/
https://addons.mozilla.org/en-US/thunderbird/addon/2108

Mr Joker

unread,
Aug 3, 2008, 3:24:07 AM8/3/08
to

thank Ken. I have this so far:

treechildren::-moz-tree-cell-text(folderNameCol, account-Local Folders)
{ background-color: red !important; font-size: 16px !important;}

and it works, only if I have the mailtweak extension installed. Any way
to get it to work without the extension?

Mr Joker

unread,
Aug 3, 2008, 2:54:04 PM8/3/08
to

I just noticed that the script high-lites all the other folders within
Local Folders red aswell. I just want the name Local Folders in red and
nothing else.

Ron K.

unread,
Aug 3, 2008, 4:33:05 PM8/3/08
to
Mr Joker keyboarded, On 8/3/2008 2:54 PM :

Your selector is not quite right for your goal. If you add (
isServer-true ) this prevents the rule from being applied to sub-folders.
If you add ( serverType-none ) this restricts application to the Local
Folder account which is Type-none.

Doing this should avoid the need to use the Mail Tweaks which is
required if your going to use the ( account-Local Folders ) account name.
This is caused by the account name being a hidden attribute in the
Folder Pane's XUL code. Mail Tweaks makes use of a custom Javascript
that permits the Author to write snippets of Javascript to modify
elements of the window chrome.

FWIW, the project that created the userChrome.js extension has not been
adopted by the Tb development team. One of the participants in a
MozillaZine Forum is the author of Mail Tweaks. Among the Tb pages in
the MozillaZine KB are two related to the original project. I did use
that projects extension until I found Mail Tweaks included the function
I wanted, to add custom Icons to Accounts in the folder pane.

--
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!

Mr Joker

unread,
Aug 3, 2008, 8:10:04 PM8/3/08
to

thanks Ron. I disabled mail tweaks, and changed my script to:

treechildren::-moz-tree-cell-text(folderNameCol, isServer-true,
serverType-none)


{ background-color: red !important;
font-size: 16px !important;}

and that works. Local Folders is now highlighted in red. Perfect.

Ron K.

unread,
Aug 3, 2008, 9:48:32 PM8/3/08
to
Mr Joker keyboarded, On 8/3/2008 8:10 PM :

A follow up note. By changing the server type in that selector you can
modify other accounts by server-type. Choices being IMAP, NNTP, and
POP3, and RSS. This thread has gotten to thinking about doing some
text color changes. If for no other reasion than to keep a sample in my
user.Chrome.css to share if another request comes along.

Ken Whiton

unread,
Aug 3, 2008, 10:25:06 PM8/3/08
to
*-* On Sun, 03 Aug 2008, at 17:10:04 -0700,
*-* In Article 6PKdnRwUJd0N2gvV...@mozilla.org,

*-* Mr Joker wrote
*-* About Re: Local Folders

> Ron K. wrote:


>> Mr Joker keyboarded, On 8/3/2008 2:54 PM :
>>> Mr Joker wrote:
>>>> Ken Whiton wrote:

>>>>> *-* Mr Joker wrote

>>>>>> Ken Whiton wrote:
>>>>>>> *-* Mr Joker wrote

>>>>>>>> Is there any way to change the color of just Local Folders?

>>>>>>> What color? Do you mean the color of that particular
>>>>>>> name in the Folders list? Do you mean the color of the names
>>>>>>> of the folders contained within Local Folders? Do you mean
>>>>>>> the colors of the icons representing either of the above? Or
>>>>>>> do you mean something else entirely? Until you're somewhat
>>>>>>> more specific your question can't begin to be answered.

>>>>>> I want the name Local Folders another color

>>>>> I don't know for sure, but I think it should be possible.
>>>>> Last January there was a thread here where someone else was
>>>>> trying to do something similar. During that thread a couple of
>>>>> extensions were mentioned as possible enablers, Mail Tweak and
>>>>> Stylish. Based on a follow-up post from the original poster, it
>>>>> appears that Mail Tweak did what he wanted.

>>>> thank Ken. I have this so far:

>>>> treechildren::-moz-tree-cell-text(folderNameCol, account-Local Folders)
>>>> { background-color: red !important; font-size: 16px !important;}

>>>> and it works, only if I have the mailtweak extension installed.
>>>> Any way to get it to work without the extension?

>>> I just noticed that the script high-lites all the other folders
>>> within Local Folders red aswell. I just want the name Local
>>> Folders in red and nothing else.

>> Your selector is not quite right for your goal. If you add (
>> isServer-true ) this prevents the rule from being applied to
>> sub-folders.
>> If you add ( serverType-none ) this restricts application to the
>> Local Folder account which is Type-none.

>> Doing this should avoid the need to use the Mail Tweaks which is
>> required if your going to use the ( account-Local Folders ) account
>> name.

[ ... ]

> thanks Ron. I disabled mail tweaks, and changed my script to:

> treechildren::-moz-tree-cell-text(folderNameCol, isServer-true,
> serverType-none)
> { background-color: red !important;
> font-size: 16px !important;}

> and that works. Local Folders is now highlighted in red. Perfect.

Thanks from me, too, Ron. I had just about reached the end of my
knowledge of the relevant CSS (not quite "the blind leading the blind"
but more like "the one-eyed leading the blind" :-D ) and I was hoping
that someone with more knowledge of CSS, like you or dillinger, would
step in and help him out. Thanks again.

Ron K.

unread,
Aug 3, 2008, 11:11:01 PM8/3/08
to
Ken Whiton keyboarded, On 8/3/2008 10:25 PM :

I learned a little bit about account level selectors from the head
banging I did to swap custom Icons for the Accounts. Partialy I got
clues from Sailfish's code for SPC theme. Now with the Mail Tweak
extension, which is simpler to use than DOMi, the CSS Selector function
lists just about all the selectors that apply to an element of Chrome,
and probably Content too. I will not say all selectors, since some may
only be available for internal use of the XUL of the Folder tree. The
Account-Name selector was hidden untill the userChrome.js extension and
some code hacker wrote a script to unhide the selector. Mail Tweak has
the userChrome.js extension as it's code engine.

So if you want to experiment with account icons here is the CSS. I
assumed account names to be case sensitive. Change server type as needed
for POP3, IMAP, or RSS.

/* ..Folder.Pane.News.Folders.. (Folder icon-16x16 w/transparent Bg) */
treechildren::-moz-tree-image(folderNameCol, isServer-true,
serverType-nntp, name-Annexcafe)
{list-style-image: url("annexcafe.png") !important;}

Ken Whiton

unread,
Aug 4, 2008, 2:30:12 AM8/4/08
to
*-* On Sun, 03 Aug 2008, at 21:48:32 -0400,
*-* In Article Aaidnf0ODIRDwgvV...@mozilla.org,
*-* Ron K. wrote

*-* About Re: Local Folders

> Mr Joker keyboarded, On 8/3/2008 8:10 PM :


>> Ron K. wrote:
>>> Mr Joker keyboarded, On 8/3/2008 2:54 PM :
>>>> Mr Joker wrote:

[ ... ]

>>>>> thank Ken. I have this so far:

>>>>> treechildren::-moz-tree-cell-text(folderNameCol, account-Local
>>>>> Folders)
>>>>> { background-color: red !important; font-size: 16px !important;}

>>>>> and it works, only if I have the mailtweak extension installed.
>>>>> Any way to get it to work without the extension?

>>>> I just noticed that the script high-lites all the other folders
>>>> within Local Folders red aswell. I just want the name Local
>>>> Folders in red and nothing else.

>>> Your selector is not quite right for your goal. If you add (
>>> isServer-true ) this prevents the rule from being applied to
>>> sub-folders.
>>> If you add ( serverType-none ) this restricts application to the
>>> Local Folder account which is Type-none.

>>> Doing this should avoid the need to use the Mail Tweaks which is
>>> required if your going to use the ( account-Local Folders )
>>> account name.

[ ... ]

>> thanks Ron. I disabled mail tweaks, and changed my script to:

>> treechildren::-moz-tree-cell-text(folderNameCol, isServer-true,
>> serverType-none)
>> { background-color: red !important;
>> font-size: 16px !important;}

>> and that works. Local Folders is now highlighted in red. Perfect.

> A follow up note. By changing the server type in that selector you
> can modify other accounts by server-type. Choices being IMAP, NNTP,
> and POP3, and RSS. This thread has gotten to thinking about doing
> some text color changes. If for no other reasion than to keep a
> sample in my user.Chrome.css to share if another request comes
> along.

My user.Chrome.css is almost all color-related. Considering all
the help you've given me in the past I'd be happy to share it with you
if you'd be interested. You could keep it as a reference and not have
to make changes to your TBird if you're currently satisfied with the
way it looks.

Ken Whiton

unread,
Aug 4, 2008, 2:30:23 AM8/4/08
to
*-* On Sun, 03 Aug 2008, at 23:11:01 -0400,
*-* In Article PNednVH-euyv7gvV...@mozilla.org,
*-* Ron K. wrote

*-* About Re: Local Folders

> Ken Whiton keyboarded, On 8/3/2008 10:25 PM :
>> *-* Mr Joker wrote

[ ... ]

>>> thanks Ron. I disabled mail tweaks, and changed my script to:

>>> treechildren::-moz-tree-cell-text(folderNameCol, isServer-true,
>>> serverType-none)
>>> { background-color: red !important;
>>> font-size: 16px !important;}

>>> and that works. Local Folders is now highlighted in red.
>>> Perfect.

>> Thanks from me, too, Ron. I had just about reached the end of
>> my knowledge of the relevant CSS (not quite "the blind leading the
>> blind" but more like "the one-eyed leading the blind" :-D ) and I
>> was hoping that someone with more knowledge of CSS, like you or
>> dillinger, would step in and help him out. Thanks again.

> I learned a little bit about account level selectors from the head


> banging I did to swap custom Icons for the Accounts. Partialy I got
> clues from Sailfish's code for SPC theme. Now with the Mail Tweak
> extension, which is simpler to use than DOMi, the CSS Selector
> function lists just about all the selectors that apply to an element
> of Chrome, and probably Content too. I will not say all selectors,
> since some may only be available for internal use of the XUL of the
> Folder tree. The Account-Name selector was hidden untill the
> userChrome.js extension and some code hacker wrote a script to
> unhide the selector. Mail Tweak has the userChrome.js extension as
> it's code engine.

Last month both you and dillinger mentioned the InspectorWidget
extension as another way to make working with DOMi somewhat more
user-friendly. Between Mail Tweak and InspectorWidget, do you have a
preference/recommendation for one over the other?

> So if you want to experiment with account icons here is the CSS. I
> assumed account names to be case sensitive. Change server type as
> needed for POP3, IMAP, or RSS.

> /* ..Folder.Pane.News.Folders.. (Folder icon-16x16 w/transparent Bg) */
> treechildren::-moz-tree-image(folderNameCol, isServer-true,
> serverType-nntp, name-Annexcafe)
> {list-style-image: url("annexcafe.png") !important;}

For that to work doesn't the image file have to be located in a
specific location?

Ron K.

unread,
Aug 4, 2008, 9:02:27 AM8/4/08
to
Ken Whiton keyboarded, On 8/4/2008 2:30 AM :

> *-* On Sun, 03 Aug 2008, at 23:11:01 -0400,
> *-* In Article PNednVH-euyv7gvV...@mozilla.org,
> *-* Ron K. wrote
> *-* About Re: Local Folders
>
>> Ken Whiton keyboarded, On 8/3/2008 10:25 PM :
>>> *-* Mr Joker wrote
>
> Last month both you and dillinger mentioned the InspectorWidget
> extension as another way to make working with DOMi somewhat more
> user-friendly. Between Mail Tweak and InspectorWidget, do you have a
> preference/recommendation for one over the other?

Inspector Widget is an interface to DOMi and has some use because of how
You can select the target to analyze. Mail Tweaks is great for its
ability to navigate up/down and left/right in the tree. The down side
of Mail Tweaks is it does not display the CSS, just the XUL properties.
So both it and DOMi are needed if You want to see the original settings.
My method now is to use Mail Tweak to look around and then switch to
DOMi to see the CSS for the node I am interested in.

>> /* ..Folder.Pane.News.Folders.. (Folder icon-16x16 w/transparent Bg) */
>> treechildren::-moz-tree-image(folderNameCol, isServer-true,
>> serverType-nntp, name-Annexcafe)
>> {list-style-image: url("annexcafe.png") !important;}
>
> For that to work doesn't the image file have to be located in a
> specific location?

Sort of. The profile Chrome folder right with the userChrome.css. With
DOMi a look at the paths to images used in a theme have URI's of
chrome://xxx.xxx.image.(GIF or PNG) Think about how HTML references
page content. If the page parts are in the same folder only the file
name has to be used as a URL to point a web server to the file. It's a
case of "Relative" addressing.

>
> Ken Whiton
>
> FIDO: 1:132/152
> InterNet: kenw...@surfglobal.net.INVAL (remove the obvious to reply)

I have a recollection from a couple of years ago that placement of
replacement images in the Chrome folder pathway was recommended.
Sailfish had a set of icons for the Mozilla Suite that would install to
Chrome/icons/default of a profile. Location of Throbber replacements
were also pointed to Chrome as there home base. I think its a sensible
procedure and it greatly simplifies the URI path.

Something I worked on for a few days is creation and implamenting CSS to
use Icons in the Folder pane as Headers for the Unread. Total and Size
Cols. when those additional Cols are selected to be shown. Mail Tweaks
was useful to speed up exploring the DOM structure for those Cols and I
learned that there were hidden image selectors. So instead of trying to
hack a CSS {Background Image: URL(x)} I was able to use the finer
positioning rules for the pseudo CSS {-moz-style-image} selector. All
the work was for a RFE Bug because for some languages the Cols labels
were longer than English, and even then Unread is wider that the
proposed Icon to replace the label. That Col is now narrowed to 1.7em in
my CSS, or about 20px, sufficient for a two digit number. This is the
set of lines I needed for the Unread Col.

#folderUnreadCol { min-width: 1.7em !important; }
#folderUnreadCol > .treecol-text {visibility: hidden !important; }
#folderUnreadCol > .treecol-sortdirection {list-style-image:
url("readcol.png") !important; }

For this image I am reusing the icon from the default Tb Pinstripe theme
that is used in the thread pane as the label for the "Read" col. I
extracted it and put the copy into the profile Chrome folder to permit
use of Relative Addressing.

Enough for this thread branch.

Ron K.

unread,
Aug 4, 2008, 9:09:31 AM8/4/08
to
Ken Whiton keyboarded, On 8/4/2008 2:30 AM :

Send me a copy in a ZIP. I have started to entertain the idea of
reactivating the web space I have with my ISP to create a site for CSS
tweaks. The strength of the idea is the ability to use Before/After
screen shots to illustrate the CSS mods. Then We can point Users to the
Site.

I have your address, so I can send a copy of mine to You also. Interested?

Mr Joker

unread,
Aug 4, 2008, 1:04:32 PM8/4/08
to
Ron K. wrote:
> Ken Whiton keyboarded, On 8/4/2008 2:30 AM :
>> My user.Chrome.css is almost all color-related. Considering all
>> the help you've given me in the past I'd be happy to share it with you
>> if you'd be interested. You could keep it as a reference and not have
>> to make changes to your TBird if you're currently satisfied with the
>> way it looks.
> Send me a copy in a ZIP. I have started to entertain the idea of
> reactivating the web space I have with my ISP to create a site for CSS
> tweaks. The strength of the idea is the ability to use Before/After
> screen shots to illustrate the CSS mods. Then We can point Users to the
> Site.
> I have your address, so I can send a copy of mine to You also. Interested?

Ken, Ron, I think it would be advantageous for everyone in this
newsgroup, if both of you posted your userChrome.css file here. Or as
Ron suggested, on a site. This way, everyone can benefit from it.

Thank

Mr Joker

unread,
Aug 4, 2008, 1:04:38 PM8/4/08
to
Ron K. wrote:
> Enough for this thread branch.

Thats all right. I'm [or rather, we're] learning when you and Ken did
this. Interesting tips and suggestions. Thanks.

Mr Joker

unread,
Aug 4, 2008, 2:53:15 PM8/4/08
to
Ron K. wrote:
> So if you want to experiment with account icons here is the CSS. I
> assumed account names to be case sensitive. Change server type as needed
> for POP3, IMAP, or RSS.
>
> /* ..Folder.Pane.News.Folders.. (Folder icon-16x16 w/transparent Bg) */
> treechildren::-moz-tree-image(folderNameCol, isServer-true,
> serverType-nntp, name-Annexcafe)
> {list-style-image: url("annexcafe.png") !important;}

I've tried this, and I just can't get it to work. This is what I have
so far:

treechildren::-moz-tree-image(folderNameCol, isServer-true,
serverType-nntp, name-news.mozilla.org)
{list-style-image: url("mozilla1.png") !important;}

Stylish says it contains errors 'ruleset ignored due to bad selector'.
When I changed it to mozilla.org, I get the same mesage. When I changed
it to mozilla then it worked, but I don't get any image.

The mozilla1.png is in the profiles chrome directory, but still no image.

I've tried putting the script in userChrome.css but still no image.

Any idea where I've gone wrong?

Ron K.

unread,
Aug 4, 2008, 3:08:54 PM8/4/08
to
Mr Joker keyboarded, On 8/4/2008 1:04 PM :

What I have is not going to work right for most themes if used as is.
My thoughts lean to trying to transform some Sky Pilot Classic mods to
generic style rules that might work adequately well that importation
would not result in gray text on a gray background. Today I have been
banging my head on the monitor while trying to find solutions to
breaking three style rules when a fixed a set of rules for text bolding
in the Unread and Total Cols of the Folder pane. Theme work is a lot of
trials and error correction.

Ron K.

unread,
Aug 4, 2008, 3:19:49 PM8/4/08
to
Mr Joker keyboarded, On 8/4/2008 2:53 PM :

> Ron K. wrote:
>> So if you want to experiment with account icons here is the CSS. I
>> assumed account names to be case sensitive. Change server type as
>> needed for POP3, IMAP, or RSS.
>>
>> /* ..Folder.Pane.News.Folders.. (Folder icon-16x16 w/transparent Bg) */
>> treechildren::-moz-tree-image(folderNameCol, isServer-true,
>> serverType-nntp, name-Annexcafe)
>> {list-style-image: url("annexcafe.png") !important;}
>
> I've tried this, and I just can't get it to work. This is what I have
> so far:
>
> treechildren::-moz-tree-image(folderNameCol, isServer-true,
> serverType-nntp, name-news.mozilla.org)
> {list-style-image: url("mozilla1.png") !important;}

This will not work without installing the Mail Teak extension and
checking menu item Folder Icons. That is the enabler that activates
ability to use the "name-" selector in Your draft CSS item above. The
name must be the one of the account as displayed in the Folder Pane.
Spelling counts. You edit the account name in the Accounts Manager.

>
> Stylish says it contains errors 'ruleset ignored due to bad selector'.
> When I changed it to mozilla.org, I get the same mesage. When I
> changed it to mozilla then it worked, but I don't get any image.
>
> The mozilla1.png is in the profiles chrome directory, but still no image.
>
> I've tried putting the script in userChrome.css but still no image.

That CSS You wrote must be entered into the userChrome.css file in the
Chrome folder, the same as the image mozilla1.png. A key point about
images being used is they must be 16x16 px max size. Preferably with a
transparent background.


>
>
> Any idea where I've gone wrong?

answers given inline above.

Mr Joker

unread,
Aug 4, 2008, 3:57:03 PM8/4/08
to
Ron K. wrote:
Mr Joker keyboarded, On 8/4/2008 2:53 PM :
Ron K. wrote:
So if you want to experiment with account icons here is the CSS. I assumed account names to be case sensitive. Change server type as needed for POP3, IMAP, or RSS.

/* ..Folder.Pane.News.Folders.. (Folder icon-16x16 w/transparent Bg) */
treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, name-Annexcafe)
  {list-style-image: url("annexcafe.png") !important;}

I've tried this, and I just can't get it to work.  This is what I have so far:

treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, name-news.mozilla.org)
  {list-style-image: url("mozilla1.png") !important;}

This will not work without installing the Mail Teak extension and checking menu item Folder Icons.  That is the enabler that activates ability to use the "name-" selector in Your draft CSS item above.  The name must be the one of the account as displayed in the Folder Pane.  Spelling counts. You edit the account name in the Accounts Manager.

Thanks.  I was hoping I could get away without using that extension.  But I guess not.

Stylish says it contains errors 'ruleset ignored due to bad selector'. When I changed it to mozilla.org, I get the same mesage.  When I changed it to mozilla then it worked, but I don't get any image.

The mozilla1.png is in the profiles chrome directory, but still no image.

I've tried putting the script in userChrome.css but still no image.

That CSS You wrote must be entered into the userChrome.css file in the Chrome folder, the same as the image mozilla1.png.  A key point about images being used is they must be 16x16 px max size. Preferably with a transparent background.

Nope, I tried that and it still doesn't work.  I've tried renaming the account, and still doesn't show the icon.  Here's the image I'm using. 

Any other idea?

Ron K.

unread,
Aug 4, 2008, 5:02:29 PM8/4/08
to
Mr Joker keyboarded, On 8/4/2008 3:57 PM :
> Any other idea?

You just WON the sweep stakes. That is the first image that I have seen
slide though the Gignews Binary Rejection Filter in place for the
support groups. I saved your Icon and will write a style rule for the
Mozilla news group. Watch this thread for followup with a working CSS rule.

Ron K.

unread,
Aug 4, 2008, 5:16:39 PM8/4/08
to
Ron K. keyboarded, On 8/4/2008 5:02 PM :

OK, turns out some text strings are illegal and mozilla.org is one of
them. This rule did work after sorting out the reason for errors
reported in the Console. Had to shorten the name to Mozilla.

treechildren::-moz-tree-image(folderNameCol, isServer-true,
serverType-nntp, name-Mozilla)
{ list-style-image: url("mozilla1.png") !important; }

Mr Joker

unread,
Aug 4, 2008, 5:52:27 PM8/4/08
to

thanks Ron, but thats the script I already have and it doesn't work,
atleast for me it doesn't. Plus I have the Folder Icons setting in
mailtweak checked too.

Mr Joker

unread,
Aug 4, 2008, 5:56:20 PM8/4/08
to
Ron K. wrote:

> You just WON the sweep stakes. That is the first image that I have seen
> slide though the Gignews Binary Rejection Filter in place for the
> support groups.

I think it was JoeS who reported in the general group you could. As
long as it was under a certain size, and you posted in html format.

Ron K.

unread,
Aug 4, 2008, 6:26:04 PM8/4/08
to
Mr Joker keyboarded, On 8/4/2008 5:52 PM :

Read my CSS carefully. It does work. I synced the account name and the
CSS selector. Requires a restart after any edit as You have probably
noticed already.

Do you have other items in your userChrome.css? Why not mail it to me,
the address will work.

Mr Joker

unread,
Aug 4, 2008, 6:54:22 PM8/4/08
to

I have, it doesn't, and I've got the same setting as you. Still
nothing. And I'm using the default theme.

> Do you have other items in your userChrome.css? Why not mail it to me,
> the address will work.

no need to. I've only got 2 entries. This one, and the color of Local
Folders.

Ron K.

unread,
Aug 4, 2008, 7:51:27 PM8/4/08
to
Mr Joker keyboarded, On 8/4/2008 6:54 PM :

Is this the first line of your userChrome file ?
@namespace
url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

If it's not, it is needed and could be why your not getting the desired
action.

Mr Joker

unread,
Aug 4, 2008, 8:09:07 PM8/4/08
to

yup, its there.

Ken Whiton

unread,
Aug 5, 2008, 4:49:26 AM8/5/08
to
*-* On Mon, 04 Aug 2008, at 10:04:32 -0700,
*-* In Article J46dnUQDztPLqArV...@mozilla.org,
*-* Mr Joker wrote

*-* About Re: Local Folders

> Ron K. wrote:

As Ron has already mentioned, his is quite specialized, hacking a
specific theme. Mine, OTOH, is more generic, since I use the default
theme. It's 45 lines and 1,865 bytes, so including it in a post here
shouldn't overload the server. :-) If I don't see any dissenting
votes I'll post it in a day or two.

What I know about CSS code I've learned from this group. Here
are links to a few threads that you might find helpful (I first posted
this list last September for someone else, so they're not all that
recent.).

http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/e3f2e2bb7ed64ee6
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/7b0255589fc2084b
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/b679667f9148b9d0
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/28403ff27d9a2926
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/f7bf740e9e4eb8e0
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/935bb60202905ac7
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/98c210da432912de
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/f7bf740e9e4eb8e0
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/d059162a5d13e423
http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/f4d60aacadc3d6c0

That first one is one from last September that I started, in
which Ron and dillinger were able to help me solve a problem I was
having. Unfortunately, Ron was using the "X-No-Archive: yes" header
at that time so his contributions to the thread don't appear on
Google. :-(

Ken Whiton

unread,
Aug 5, 2008, 4:49:37 AM8/5/08
to
*-* On Mon, 04 Aug 2008, at 15:54:22 -0700,
*-* In Article d7GdnXK5WbjPGgrV...@mozilla.org,

*-* Mr Joker wrote
*-* About Re: Local Folders

> User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)

> Ron K. wrote:
>> Mr Joker keyboarded, On 8/4/2008 5:52 PM :
>>> Ron K. wrote:

[ ... ]

>>>> OK, turns out some text strings are illegal and mozilla.org is
>>>> one of them. This rule did work after sorting out the reason for
>>>> errors reported in the Console. Had to shorten the name to
>>>> Mozilla.

>>>> treechildren::-moz-tree-image(folderNameCol, isServer-true,
>>>> serverType-nntp, name-Mozilla)
>>>> { list-style-image: url("mozilla1.png") !important; }

>>> thanks Ron, but thats the script I already have and it doesn't
>>> work, atleast for me it doesn't. Plus I have the Folder Icons
>>> setting in mailtweak checked too.

>> Read my CSS carefully. It does work. I synced the account name and
>> the CSS selector. Requires a restart after any edit as You have
>> probably noticed already.

> I have, it doesn't, and I've got the same setting as you. Still
> nothing. And I'm using the default theme.

I wonder if it might have something to do with the fact that
you're using an older version of TBird. Perhaps there's something in
that code for which support has been added since your version was
released.

Ken Whiton

unread,
Aug 5, 2008, 4:49:47 AM8/5/08
to
*-* On Mon, 04 Aug 2008, at 19:51:27 -0400,
*-* In Article h9qdnQt8T6J7CArV...@mozilla.org,
*-* Ron K. wrote

*-* About Re: Local Folders

[ ... ]

> Is this the first line of your userChrome file ?
> @namespace
> url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

> If it's not, it is needed and could be why your not getting the
> desired action.

I don't have that line in my userChrome.css file. I started my
file from scratch, working from sample code posted in this group
and/or code from the MozillaZine Knowledge Base, and I had a working
file long before I ever read about that line (supposedly) being
needed, so I've never bothered to add it.

Message has been deleted

ovidiu

unread,
Aug 5, 2008, 6:55:13 AM8/5/08
to
Ron K. wrote:
> I have started to entertain the idea of reactivating the web space I
> have with my ISP to create a site for CSS tweaks. The strength of the
> idea is the ability to use Before/After screen shots to illustrate the
> CSS mods. Then We can point Users to the Site.
>
Would a wiki do? I think Mozillazine or TB wiki to limit the spread
around ..
1. from http://kb.mozillazine.org/UserChrome.css_Element_Names/IDs or
alike or in TB wiki, probably better to start a Tb specific and with
more visual description of elements and selectors, and then with examples.
2. or under or linked from
http://www.mozilla.org/support/thunderbird/tips . Probably under in in a
css tweaks page or something ..

I thought of this too as it is requested often and today there are
pieces around group threads. Requested I see 2 things: 1.a place to have
a somehow overall description of ui elements and selecctors, where we
always point to DOMI or css or stylish etc. 2.a place with code snippets
or css pieces for certain particular cases.

Would be great to have that in a wiki to be able to add there the folder
case for example and later to point to it as needed. Just as good as
some other example supporters find interesting or wanna share. No zip
needed too :) Even some workarounds in bugs may point here .. After all
we do that mozillazine pointing for other issues ..

Anyway, +1, help from here too.
ps: May wanna start a fresh thread regarding this to establish the right
place and ways ..

Mr Joker

unread,
Aug 5, 2008, 11:34:30 AM8/5/08
to
Ken Whiton wrote:
> I wonder if it might have something to do with the fact that
> you're using an older version of TBird. Perhaps there's something in
> that code for which support has been added since your version was
> released.
>
> Ken Whiton

no, I'm using an up-to-date version of TB: 2.0.0.16.

Mr Joker

unread,
Aug 5, 2008, 11:34:32 AM8/5/08
to
Ken Whiton wrote:
>> Is this the first line of your userChrome file ?
>> @namespace
>> url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
>
>> If it's not, it is needed and could be why your not getting the
>> desired action.
>
> I don't have that line in my userChrome.css file. I started my
> file from scratch, working from sample code posted in this group
> and/or code from the MozillaZine Knowledge Base, and I had a working
> file long before I ever read about that line (supposedly) being
> needed, so I've never bothered to add it.

I had another script that added high-lites to mailto:, mp3, mov, and
others. Without that line, it was a global setting, so it did strange
things [added colors to] to the windows of TB aswell. When I added that
line, it became an XUL setting, and the changes to the windows
disappeared and everything was back to normal. I've since did away with
that script. I didn't like it.

Mr Joker

unread,
Aug 5, 2008, 11:34:34 AM8/5/08
to
Ken Whiton wrote:

> As Ron has already mentioned, his is quite specialized, hacking a
> specific theme.

but, some of them can still be applied to others

> What I know about CSS code I've learned from this group. Here
> are links to a few threads that you might find helpful (I first posted
> this list last September for someone else, so they're not all that
> recent.).
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/e3f2e2bb7ed64ee6
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/7b0255589fc2084b
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/b679667f9148b9d0
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/28403ff27d9a2926
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/f7bf740e9e4eb8e0
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/935bb60202905ac7
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/98c210da432912de
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/f7bf740e9e4eb8e0
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/d059162a5d13e423
>
> http://groups.google.com/group/mozilla.support.thunderbird/browse_thread/thread/f4d60aacadc3d6c0
>
>
> That first one is one from last September that I started, in
> which Ron and dillinger were able to help me solve a problem I was
> having. Unfortunately, Ron was using the "X-No-Archive: yes" header
> at that time so his contributions to the thread don't appear on
> Google. :-(

thats the downside of x-no-archive. But, perhaps in someone elses
reply, maybe his entire post is there. Unless someone snipped it.

Ron K.

unread,
Aug 5, 2008, 3:50:32 PM8/5/08
to
Ken Whiton keyboarded, On 8/5/2008 4:49 AM :

There was a thread here by Terry R. on the topic of was the namespace
line doing any thing. At the time Tb 1.5 was still supported and Tb 2.0
was at early release versions. Bottom line, IIRC, was it was not used
by Tb 1.5 and Tb 2.0 early releases, but would be needed as Tb progressed.
The advice of a Dev who contributed was to keep the line as a precaution
for when code would switch to it's use.

Peter Potamus the Purple Hippo

unread,
Aug 6, 2008, 1:03:09 AM8/6/08
to
Ron K. wrote:
> Mr Joker keyboarded, On 8/4/2008 5:52 PM :

>>> treechildren::-moz-tree-image(folderNameCol, isServer-true,
>>> serverType-nntp, name-Mozilla)
>>> { list-style-image: url("mozilla1.png") !important; }
>>>
>>>
>>
>> thanks Ron, but thats the script I already have and it doesn't work,
>> atleast for me it doesn't. Plus I have the Folder Icons setting in
>> mailtweak checked too.
>
> Read my CSS carefully. It does work. I synced the account name and the
> CSS selector. Requires a restart after any edit as You have probably
> noticed already.
>
> Do you have other items in your userChrome.css? Why not mail it to me,
> the address will work.

you're very, very close.

In order for this to work without the mailtweak
extension, you need to create a userChrome.js file.
Its a plain text file, and it goes where the
userChrome.css file is located.

In the userChrome.js file, put in the following code:

// make account and folder names available to
userChrome.css
with (document.getElementById("folderNameCell"))
setAttribute("properties",
getAttribute("properties") + " name-?folderTreeName")

Restart TB for TB to accept that js file. Now, in the
userChrome.css file, to change the colors for the
Mozilla server, put in this script [of course, change
the colors to your liking]:

treechildren::-moz-tree-cell-text(folderNameCol,
isServer-true, name-mozilla)
{ background-color: red !important;
color: yellow !important;}

To add your own icon, try converting the image to
base64, and then use this script:

treechildren::-moz-tree-image(folderNameCol, name-mozilla)
list-style-image:
url("data:image/png;base64,AAABAAMAEBAAAAEACABoBQAANgAAACAgAAABAAgAqAgAAJ4FA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f//wAAAAAAB///AAAAAAAH//8AAAAAAAP//wAAAAAAA///AAAAAAAD//8AAAAAAAP//wAAAAAAA///AAAAAAAD//8AAAAAAAP//4AAAAAAA///wAAAAAA

P
//8=")
!important;}

Restart TB and things should work.

The downside to all of this: when you change the icon,
you won't be able to tell which is a secured site and
which is not -- there's no visible padlock. Unless you
color code them differently.

--
*IMPORTANT*: Sorry folks, but I cannot provide email
help!!!! Emails to me may become public

Notice: This posting is protected under the Free Speech
Laws, which applies everywhere in the FREE world,
except for some strange reason, not to the mozilla.org
newsgroup servers, where your posting may get you banned.

Peter Potamus & His Magic Flying Balloon:
http://www.toonopedia.com/potamus.htm

Mr Joker

unread,
Aug 6, 2008, 2:31:32 PM8/6/08
to

8-)! It works! Thanks Hippo!

Ken Whiton

unread,
Aug 7, 2008, 3:35:11 AM8/7/08
to
*-* On Tue, 05 Aug 2008, at 08:34:34 -0700,
*-* In Article JdidnX87QfAj7AXV...@mozilla.org,

*-* Mr Joker wrote
*-* About Re: Local Folders

> Ken Whiton wrote:

>> As Ron has already mentioned, his is quite specialized,
>> hacking a specific theme.

> but, some of them can still be applied to others

True.

>> What I know about CSS code I've learned from this group. Here
>> are links to a few threads that you might find helpful (I first
>> posted this list last September for someone else, so they're not
>> all that recent.).

>> That first one is one from last September that I started, in
>> which Ron and dillinger were able to help me solve a problem I was
>> having. Unfortunately, Ron was using the "X-No-Archive: yes"
>> header at that time so his contributions to the thread don't appear
>> on Google. :-(

> thats the downside of x-no-archive.

Agreed.

> But, perhaps in someone elses
> reply, maybe his entire post is there. Unless someone snipped it.

With the exception of one post, which was a reply to one of mine,
Ron, dillinger, and I were the only participants in the thread, and
I'm a snipper. :-(

OTOH, the entire thread is still on the news.mozilla.org server,
so anyone who

1. doesn't "expire" posts,
and
2. hasn't marked older posts "read" after downloading a portion
of the available posts,

can still access them on the server. The thread is between 17,000 and
18,000 posts back.

Ken Whiton

unread,
Aug 7, 2008, 3:35:32 AM8/7/08
to
*-* On Tue, 05 Aug 2008, at 15:50:32 -0400,
*-* In Article GfCdnZ2Gds1wMwXV...@mozilla.org,
*-* Ron K. wrote

*-* About Re: Local Folders

> Ken Whiton keyboarded, On 8/5/2008 4:49 AM :
>> *-* Mr Joker wrote

>>> User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)

>>> Ron K. wrote:

[ ... ]

>>>> Read my CSS carefully. It does work. I synced the account name
>>>> and the CSS selector. Requires a restart after any edit as You
>>>> have probably noticed already.

>>> I have, it doesn't, and I've got the same setting as you. Still
>>> nothing. And I'm using the default theme.

>> I wonder if it might have something to do with the fact that
>> you're using an older version of TBird. Perhaps there's
>> something in that code for which support has been added since your
>> version was released.

> There was a thread here by Terry R. on the topic of was the


> namespace line doing any thing. At the time Tb 1.5 was still
> supported and Tb 2.0 was at early release versions. Bottom line,
> IIRC, was it was not used by Tb 1.5 and Tb 2.0 early releases, but
> would be needed as Tb progressed.
> The advice of a Dev who contributed was to keep the line as a
> precaution for when code would switch to it's use.

Considering that I'm still using TB 1.5, that would explain why I
haven't had any problems with my userChrome.css despite it not
including the namespace line. I've now added it, however, so I don't
have to remember to do so when/if I get around to upgrading to 2.x (or
beyond).

On a related note, what are the OS requirements for TB3? Does it
still support windows 9x/ME, or is support for them being discontinued
as it has been in FF3?

Ron K.

unread,
Aug 7, 2008, 4:15:16 AM8/7/08
to
Ken Whiton keyboarded, On 8/7/2008 3:35 AM :

Tb 3 will not support any of the Win 9X OS variants. Win2K is the
oldest NT family supported, though it can rightfully be dropped as MS
has abandoned it in the same time frame as it dropped Windows ME.


The wild card is some Die Hard Win 9X fans developed a new kernal for
98SE/ME that with a supporting DLL will permit Tb 3 to run.

Ken Whiton

unread,
Aug 8, 2008, 3:39:10 AM8/8/08
to
*-* On Tue, 05 Aug 2008, at 04:49:26 -0400,
*-* In Article mK2dnZRsy7eJiQXV...@mozilla.org,
*-* I wrote

*-* About Re: Local Folders

> *-* Mr Joker wrote

[ ... ]

>> Ken, Ron, I think it would be advantageous for everyone in this
>> newsgroup, if both of you posted your userChrome.css file here. Or
>> as Ron suggested, on a site. This way, everyone can benefit from
>> it.

> As Ron has already mentioned, his is quite specialized, hacking
> a specific theme. Mine, OTOH, is more generic, since I use the
> default theme. It's 45 lines and 1,865 bytes, so including it in a
> post here shouldn't overload the server. :-) If I don't see any
> dissenting votes I'll post it in a day or two.

It's been three days with no objections, so here it is:

= - = - = - Begin userChrome.css - = - = - = - = - = - = - =
/* Do not remove the @namespace line -- it's required for correct
functioning */
/* set default namespace to XUL */

/* Attachment Pane At Bottom Of Message Pane/Window */

#attachmentView {
-moz-appearance: none !important;
height: 66px !important; overflow: auto !important;
background-color: red !important; }
.attachmentBox {
background-color: #0000DD !important; font-weight: bold; color:
white !important; }

/* Set Colors In Folder/Account Window */

#folderTree > .tree-rows > .tree-bodybox {
background-color: #0000DD !important; }
#folderTree > treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
font-weight: bold; color: white !important; }
#folderTree > treechildren::-moz-tree-cell-text(hasUnreadMessages-false) {
font-weight: bold; color: yellow !important; }
#folderTree > treechildren::-moz-tree-cell-text(isServer-true) {
font-weight: bold; color: white !important; }

/* Set Colors In Message List Window */

#threadTree > .tree-rows > .tree-bodybox {
background-color: #0000DD !important; }
#threadTree > treechildren::-moz-tree-cell-text(unread) {
font-weight: bold; color: white !important; }
#threadTree > treechildren::-moz-tree-cell-text(read) {
font-weight: bold !important; color: yellow !important; }
#threadTree > treechildren::-moz-tree-cell-text(replied) {
font-weight: bold !important; background-color: #00DD44 !important; }
#threadTree > treechildren::-moz-tree-cell-text(forwarded) {
font-weight: bold !important; background-color: #6600DD !important; }
#threadTree > treechildren::-moz-tree-cell-text(replied, forwarded) {
font-weight: bold !important; background-color: red !important; }

/* Scroll Bar In Message Pane/Window Header */

#msgHeaderView {
max-height: 15em !important; overflow: auto !important; }

/* Set Colors In Message Pane/Window Header */

#expandedHeaderView,
#collapsedHeaderView {


background-color: red !important; color: yellow !important; }

= - = - = - End userChrome.css - = - = - = - = - = - = - =

Note that I use "#folderTree > " instead of the "folderNameCol, "
that has been used in the examples/samples in this thread, but both
seem to work equally well.

Ken Whiton

unread,
Aug 8, 2008, 3:39:21 AM8/8/08
to
*-* On Thu, 07 Aug 2008, at 04:15:16 -0400,
*-* In Article mPqdnWVoT8JyMwfV...@mozilla.org,

*-* Ron K. wrote
*-* About Re: Local Folders

> Ken Whiton keyboarded, On 8/7/2008 3:35 AM :

[ ... ]

>> On a related note, what are the OS requirements for TB3? Does
>> it still support windows 9x/ME, or is support for them being
>> discontinued as it has been in FF3?

> Tb 3 will not support any of the Win 9X OS variants. Win2K is the


> oldest NT family supported, though it can rightfully be dropped as
> MS has abandoned it in the same time frame as it dropped Windows ME.

> The wild card is some Die Hard Win 9X fans developed a new kernal
> for 98SE/ME that with a supporting DLL will permit Tb 3 to run.

Several weeks ago I saw some discussion on a forum somewhere
about a similar workaround for FF3. Do you know if that's the same
one you're talking about, or if they're two separate hacks?

Peter Potamus the Purple Hippo

unread,
Aug 8, 2008, 3:52:52 AM8/8/08
to

Ron K.

unread,
Aug 8, 2008, 12:29:08 PM8/8/08
to
Ken Whiton keyboarded, On 8/8/2008 3:39 AM :

> *-* On Tue, 05 Aug 2008, at 04:49:26 -0400,
> *-* In Article mK2dnZRsy7eJiQXV...@mozilla.org,
> *-* I wrote
> *-* About Re: Local Folders
>
>> *-* Mr Joker wrote
>
> [ ... ]
>
>>> Ken, Ron, I think it would be advantageous for everyone in this
>>> newsgroup, if both of you posted your userChrome.css file here. Or
>>> as Ron suggested, on a site. This way, everyone can benefit from
>>> it.
>
>> As Ron has already mentioned, his is quite specialized, hacking
>> a specific theme. Mine, OTOH, is more generic, since I use the
>> default theme. It's 45 lines and 1,865 bytes, so including it in a
>> post here shouldn't overload the server. :-) If I don't see any
>> dissenting votes I'll post it in a day or two.
>
> It's been three days with no objections, so here it is:
>
> = - = - = - Begin userChrome.css - = - = - = - = - = - = - =
> /* Do not remove the @namespace line -- it's required for correct
> functioning */
> /* set default namespace to XUL */
> @namespace
> url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
>
>
> /* Set Colors In Folder/Account Window */
>
> #folderTree > .tree-rows > .tree-bodybox {
> background-color: #0000DD !important; }
> #folderTree > treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
> font-weight: bold; color: white !important; }
> #folderTree >
> treechildren::-moz-tree-cell-text(hasUnreadMessages-false) {
> font-weight: bold; color: yellow !important; }
> #folderTree > treechildren::-moz-tree-cell-text(isServer-true) {
> font-weight: bold; color: white !important; }
>
>
> = - = - = - End userChrome.css - = - = - = - = - = - = - =
>
> Note that I use "#folderTree > " instead of the "folderNameCol, "
> that has been used in the examples/samples in this thread, but both
> seem to work equally well.
>
> Ken Whiton
>

Something useful about use of (folderNameCol) in the selectors is it
narrows the scope of the rule to that Col. Ran into loss of Bold for
news group names because of the two (hasUnreadMessages-) seloectors that
generaly apply to all the Cols. (Unread, Total, and Size do not have DOM
ID or unique .class ID)

My restore method was to place the general selectors near the top of the
folder pane grouping, then write new selectors lower in the grouping
that added font-weight: bold back by using the (folderNameCol)
selector. The rule sets for the Local Folders in the file I sent you
are expermental. I am using them as I look for a solution to extending
the Account background color the full with of the Folder Pane box when
the extended Cols. are showing.

Mr Joker

unread,
Aug 9, 2008, 1:19:11 AM8/9/08
to
Ken Whiton wrote:
> *-* On Tue, 05 Aug 2008, at 04:49:26 -0400,
> *-* In Article mK2dnZRsy7eJiQXV...@mozilla.org,
> *-* I wrote
> *-* About Re: Local Folders
>
>> *-* Mr Joker wrote
>
> [ ... ]
>
>>> Ken, Ron, I think it would be advantageous for everyone in this
>>> newsgroup, if both of you posted your userChrome.css file here. Or
>>> as Ron suggested, on a site. This way, everyone can benefit from
>>> it.
>
>> As Ron has already mentioned, his is quite specialized, hacking
>> a specific theme. Mine, OTOH, is more generic, since I use the
>> default theme. It's 45 lines and 1,865 bytes, so including it in a
>> post here shouldn't overload the server. :-) If I don't see any
>> dissenting votes I'll post it in a day or two.
>
> It's been three days with no objections, so here it is:

thanks Ken. Much appreciated.

0 new messages