[haiku-commits] Re: r40747 - haiku/trunk/src/apps/mail

  • From: "Jonas Sundström" <jonas@xxxxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Tue, 01 Mar 2011 10:39:52 +0100

Stephan Aßmus <superstippi@xxxxxx> wrote:
> Am 01.03.2011 um 09:47 schrieb Clemens:
> > On Tue, 01 Mar 2011 21:12:45 +1300, Stephan Aßmus
> > <superstippi@xxxxxx> wrote:
 ...
> >> BTW, is it possible to get information about the current sorting of
> >> the Tracker window? I have usually set up the sorting by date, but
 ...
> > good point, but as far as I can see from
> > http://haiku.it.su.se: 
> > 8180/source/xref/src/kits/tracker/PoseViewScripting.cpp
> >  there is no support for this at the moment...
>
> If Mail just sends commands like "Next" or "Previous" pose, it could
> be fixed in Tracker, but I have no idea how it works behind the scene.

IIRC, Mail simply cache current, next and previous entry_refs. These come
in handy when the current entry (and selection) dissappears from the folder
(or query) and make next/previous work as expected. I believe caching them,
every time, makes it unnecessary for Mail to be aware of the sorting order.

/Jonas.


Other related posts: