Re: CamelMessageInfoBase level "dirty" flag somewhere?

Jeffrey Stedfast <[email protected]>
Newsgroups gmane.comp.gnome.evolution.devel
Organization Novell, Inc.
Message-ID <[email protected]>
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.

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
> [email protected]
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
> 
-- 
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
[email protected]  - www.novell.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.