Excerpts from Grant Hollingworth's message of Mon Nov 26 10:57:49 -0800 2007:
> Handling the unread counts in LabelListMode seems dirty, anyway. You'd
> have to watch more than just the :read event, right? If a thread is
> archived from the inbox, for instance, the unread count for 'Inbox'
> should go down.

Yes, probably the ideal solution is to have a CountManager (sigh) which
maintains all these numbers, and listens to all events. Then
LabelListMode would be a consumer of this.

> So I haven't done any of that... but I found a related problem: the
> inbox doesn't update if you unarchive a thread elsewhere. I made a
> naïve patch that works in some cases.

I've just committed a fairly large changeset that improves the update
relaying thing. It should fix most problems, including this one. I think
the one thing it doesn't quite get is the case where you remove a label
from a thread that's displayed in a different label-search-results-mode
buffer. Or something like that.

-- 
William <[EMAIL PROTECTED]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to