Thunderbird newmail/unreadmail icons

Discuss application theming and theme development.
Posts: 7
Joined: August 20th, 2008, 5:53 am

Post Posted September 16th, 2008, 5:45 am

I am having trouble with the icons in the folder pane, backed up the folderPane.css file and deleted all but 20 lines to make sure there was nothing in the file causing the error. The icon for the account is showing up as it should, the icon for newmail is also showing up if i leave the hasUnreadMessages-true off of the end of the line that checks for newmail, if I don't it doesn't show the newmail icon. I also can't get the newmail icon to show as expected for unread mail when hasUnreadMessages-true isin the line. My folderPane.css file is as follows:

/* ::::: Folder Pane ::::: */

treechildren::-moz-tree-image {
min-width: 24px !important;
min-height: 24px !important;

#folderPaneBox > #folderTree > treechildren::-moz-tree-row {
border: 0px solid transparent;
background-color: transparent;
min-height: 24px;
margin-top: 2px;
margin-bottom: 2px;

#folderPaneBox > #folderTree > treechildren::-moz-tree-image(folderNameCol, isServer-true) {
list-style-image: url("chrome://messenger/skin/icons/mail-server.png");

#folderPaneBox > #folderTree > treechildren::-moz-tree-image(folderNameCol, isServer-true, biffState-NewMail, hasUnreadMessages-true) {
list-style-image: url("chrome://messenger/skin/icons/mail-server-newmail.gif");

Posts: 105
Joined: April 19th, 2006, 6:12 am

Post Posted December 27th, 2015, 7:14 am

Did you succeed on this ?
Your post was useful to remain me the syntax to select one tab (folders or threads). :)
So I had a look, it seems you want to do too many things with the same rule, so you only address a folder that has simultaneously unread messages AND new messages. As probably that is not what you intended to do, you do not observe the results you wanted to obtain.

To display the bullet.gif icon (that I placed in the chrome folder) in front of folders having new messages, I added this to userChrome.css in the same folder :
Code: Select all
treechildren::-moz-tree-image(folderNameCol, biffState-NewMail) {
  list-style-image: url("bullet.gif") !important;
  -moz-image-region: rect(0 16px 16px 0) !important;

It took a few minutes to be efficient, but then I saw the picture in front of the name of the account that received a new mail.

Frank Lion

User avatar
Posts: 21084
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted December 27th, 2015, 10:37 am

Gloops wrote:Hello,
Did you succeed on this ?

The guy has been dead for 7 years.
Metal Lion SeaMonkey Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)


User avatar
Posts: 39611
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted December 27th, 2015, 10:52 am

Would you please, check the date before posting?
Thanks muchly.

Just start a new thread & post a link to the old thread/s.

Locking this relic.
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0-79.0/T-bird-
(Always choose the "Custom" Install.)

Return to Theme Development

Who is online

Users browsing this forum: No registered users and 1 guest