Re: [Evolution-hackers] CamelMessageInfoBase level "dirty" flag somewhere?
- From: Jeffrey Stedfast <fejj novell com>
- To: Jules Colding <colding omesc com>
- Cc: Evolution Hackers <evolution-hackers gnome org>
- Subject: Re: [Evolution-hackers] CamelMessageInfoBase level "dirty" flag somewhere?
- Date: Thu, 02 Mar 2006 10:00:58 -0500
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
> Evolution-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
>
--
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
fejj ximian com - www.novell.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]