Re: [Evolution-hackers] CamelMessageInfoBase level "dirty" flag somewhere?



On Thu, 2006-03-02 at 10:00 -0500, Jeffrey Stedfast wrote:
> There's a flag CAMEL_MESSAGE_FOLDER_FLAGGED - if set, it means that
> particular message-info is dirty.
> 
> As far as figiuring out which particular flags changed, you can add a
> "server_flags" variable to your own implementation's CamelMessageInfo
> and then diff those flags from the CamelMessageInfoBase.flags.


OK, thanks a lot.

-- 
  jules



> Jeff
> 
> On Thu, 2006-03-02 at 11:13 +0100, Jules Colding wrote:
> > Hi,
> > 
> > I am implementing camel_folder_sync().
> > 
> > It would be really nice to know, when loping over the message summaries,
> > if a summary has changed since it was loaded.
> > 
> > Imagine that the CAMEL_MESSAGE_FLAGGED flag has been set by the user in
> > "CamelMessageInfoBase.flags". Is there any way for my provider to detect
> > if that flag has been set by the user or must a poll the server-side
> > message to detect any changes?
> > 
> > Likewise for other flags. Changes to message flags since the last
> > summary load should be detectable by the provider for performance
> > reasons. A "message_info_dirty" somewhere would be nice.
> > 
> > Is there a way to achieve that?
> > 
> > Thanks,
> >   jules
> > 
> > 
> > _______________________________________________
> > Evolution-hackers mailing list
> > Evolution-hackers gnome org
> > http://mail.gnome.org/mailman/listinfo/evolution-hackers
> > 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]