[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: [PATCH] yet more threading fixes and fixes for search folders
From: Zack Rusin <zack () kde ! org>
Date: 2003-04-05 6:21:19
[Download RAW message or body]
On Friday 04 April 2003 12:43, Till Adam wrote:
> On Sunday 30 March 2003 23:34, Till Adam wrote:
> > On Sunday 30 March 2003 18:11, Till Adam wrote:
> > > The second, searchFoldersAndImap.diff contains changes necessary
> > > to make search folders work correctly with imap folders. It
> > > implements getMsg() for search folders by forwarding the request
> > > to the folder of origin of the message.
> >
> > I've extracted that part and extended it with an implementation of
> > KMFolderSearch::ignoreJobsForMessage( KMMessage* msg ) which
> > appears to be also needed.
>
> New version attached. This adds updating of search folders when mail
> arrives in imap folders (when the folder the new mail arrives in is
> open or when it is opened after mail arrival). Any better way to
> solve this?
I think we already talked about the kmfolderimap change on irc. I'm
perfectly happy with it. As far as search folders go, I'm not quite
sure about those changes. Code wise they're right on target except the
ignoreJobsForMessage. In imap they're handled a little differently
because the account manages them but in other folders they're managed
simply by the folders. You're removing only jobs for imap folders while
the rest stays in, you need to forward the ignoreJobsForMesage to
KMFolderSearch parent (KMFolder) or else the jobs will stay in the
mJobList list in KMFolder ( in general ignoreJobsForMessage needs a
rewrite anyway, I know it doesn't do too much at this point, but for
now just forward it to the parent). All in all, feel free to commit
after correcting that one problem. Thanks :)
Zack
--
Programming is like sex... make one mistake, and support it the rest
of your life.
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic