Rework the logic that assigns types to folder tree items to take into account the fact that due to the advent of imap and dimap sent/drafts/trash folders can now also be non-system folders. Fix detection of resource folder types. This results in special folders having the spiffy special icons on imap and dimap as well now, and resource folders having the spiffy resource folder icons they were intended to have all along, which required another small fix in the logic that detects them. All around prettier now. :)
Rework the logic that assigns types to folder tree items to take into account the fact that due to the advent of imap and dimap sent/drafts/trash folders can now also be non-system folders. Fix detection of resource folder types. This results in special folders having the spiffy special icons on imap and dimap as well now, and resource folders having the spiffy resource folder icons they were intended to have all along, which required another small fix in the logic that detects them. All around prettier now. :)

Ingo, backport? Clearly a showstopper.

svn path=/trunk/kdepim/; revision=336673

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi