[haiku-commits] Re: r40794 - in haiku/trunk/src: apps/mail data/beos_mime/text

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 05 Mar 2011 00:31:26 +0100

Ryan Leavengood <leavengood@xxxxxxxxx> wrote:
> On Thu, Mar 3, 2011 at 3:07 PM, Clemens <clemens.zeidler@xxxxxxxxxxxxxx> 
> > wrote:
> > Bye the way I'm also looking for overlays for replied/forwarded 
> > mails....
> Overlays also would be easy to make.

I think that actually setting the file icon for each mail should be 
avoided; this would result in poor performance overall (Tracker would 
need to fetch and construct each single icon, and having an icon in the 
file would make needing more than the small data section for attributes 
even more likely).

Instead, I would just not implement this feature for now, but build it 
into Tracker in the future, ie. make Tracker be able to show an overlay 
or a specific icon on certain circumstances. This should be realized 
using a few Tracker-wide rules that also BNodeInfo::GetTrackerIcon() 
should support.

Bye,
   Axel.


Other related posts: