Re: [Evolution] What does Evo use for "!" column
- From: Jeffrey Stedfast <fejj ximian com>
- To: Lonnie Borntreger <email borntreger com>
- Cc: Evolution List <evolution ximian com>
- Subject: Re: [Evolution] What does Evo use for "!" column
- Date: 03 Jun 2002 01:58:38 -0400
On Mon, 2002-06-03 at 01:18, Lonnie Borntreger wrote:
OK. My non genius-power-coder brain just suffered a hemorrhage trying
to use cscope to follow the logic back to see how X-Evolution gets
populated...
Is this populated from a combination of the mail header "Status:" and
"X-Status:"?
No. They are similar in function I guess, but Evolution doesn't use
[X-]Status headers.
Anyway, I'll just ask a follow-up: If "CAMEL_MESSAGE_FLAGGED" is used
for the "!" column, what is used for the column with the little flag
graphic (the "flag status" column)?
We use what i called a "tag". There's an API in Camel called
camel_tag_set/get where you can set a tag which consists of a name and
value (both char*).
The Flag-For-Followup tag is stored with name="follow-up" and the value
is encoded as "%s:%x:%x" where %s is one of the following:
"call"
"do-not-forward"
"follow-up"
"fyi"
"forward"
"no-response"
"read"
"reply"
"reply-all"
"review"
The first %x is a hex encoded time_t value for when the due date of the
Flag-For-Followup is. The second is the date at which it was completed,
or 0 if it has not yet been completed.
Jeff
On Sun, 2002-06-02 at 23:12, Jeffrey Stedfast wrote:
The X-Evolution header contains both a 32bit UID and a 32bit flags value
in the form of:
X-Evolution: 00000003-0110
The second part are the flags.
The valid flags are:
CAMEL_MESSAGE_ANSWERED = 1<<0,
CAMEL_MESSAGE_DELETED = 1<<1,
CAMEL_MESSAGE_DRAFT = 1<<2,
CAMEL_MESSAGE_FLAGGED = 1<<3,
CAMEL_MESSAGE_SEEN = 1<<4,
CAMEL_MESSAGE_ATTACHMENTS = 1<<5,
The one you care about is the FLAGGED flag.
--
TTFN,
Lonnie Borntreger
_______________________________________________
evolution maillist - evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]