Open Bug 490227 Opened 15 years ago Updated 10 months ago

hide icons for sub-folders of unified folders in folder pane

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(Not tracked)

People

(Reporter: Bienvenu, Unassigned)

Details

(Whiteboard: [needs patch])

spun-off from bug 305340 - there's a selector that themes can use to do what they want for smart folder sub-folders - specialFolder-Smart - Bryan wants to hide the icons for the sub-folders, so this bug is for that.
Flags: blocking-thunderbird3+
OS: Windows Vista → All
Hardware: x86 → All
I do want to limit this to the Smart Folders view, I'll have to check that I can do that in the CSS.

My plan here is basically only for folders that don't receive new messages.

Archives - shouldn't have (*) new mail icons on any folders and the sub folders don't have to look like actual folders.  Just the names should be sufficient.

Drafts, Sent, Trash - don't need icons for the accounts (immediate children) under the parent

The others, like Inbox, should keep the sub-icons.  As pointed out they need "NEW" mail notifications for each sub-folder.
Whiteboard: [needs patch]
This wouldn't block b3; moving out.
Target Milestone: Thunderbird 3.0b3 → Thunderbird 3.0b4
If this were the last bug standing, we wouldn't hold Thunderbird 3 for it; marking blocking-.
Flags: blocking-thunderbird3+ → blocking-thunderbird3-
Bryan, do you still want this? Or reassign?
Target Milestone: Thunderbird 3.0b4 → ---
Assignee: clarkbw → nobody
Component: Mail Window Front End → Folder and Message Lists
QA Contact: front-end → folders-message-lists
Paenglab, is this doable right now, or do you need the code to emit some new properties on the tree nodes so that you can apply the right styles?
Flags: needinfo?(richard.marti)
For a quick check I used this CSS:

treechildren::-moz-tree-image(folderNameCol, specialFolder-Smart) {
  -moz-image-region: rect(0 1px 1px 0);
}

This hides the icon from the parent unified folder and not from the sub-folders. Would it be possible to give the sub-folders a specialFolder-SmartChild or something like this?
Flags: needinfo?(richard.marti)
Severity: normal → S3
Summary: hide icons for sub-folders of smart folders in folder pane → hide icons for sub-folders of unified folders in folder pane
You need to log in before you can comment on or make changes to this bug.