Thunderbird newmail/unreadmail icons

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

Thunderbird newmail/unreadmail icons

Post by KrazyKanuk36 »

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");
}
Gloops
Posts: 106
Joined: April 19th, 2006, 6:12 am

Re: Thunderbird newmail/unreadmail icons

Post by Gloops »

Hello,
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

.tabmail-tab[type="folder"],
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.

viewtopic.php?f=39&t=2875895
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Thunderbird newmail/unreadmail icons

Post by Frank Lion »

Gloops wrote:Hello,
Did you succeed on this ?
The guy has been dead for 7 years.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
LIMPET235
Moderator
Posts: 39936
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Thunderbird newmail/unreadmail icons

Post by LIMPET235 »

Gloops....
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-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
Locked