GNOME Bugzilla – Bug 357476
Wrong flag name in camel-folder-summary.c
Last modified: 2010-12-16 18:27:29 UTC
Hello, while reading some parts of camel sources, I saw that in camel-folder-summary.c around line 2642: static struct flag_names_t { char *name; guint32 value; } flag_names[] = { { "answered", CAMEL_MESSAGE_ANSWERED }, { "deleted", CAMEL_MESSAGE_DELETED }, { "draft", CAMEL_MESSAGE_DELETED }, { "flagged", CAMEL_MESSAGE_FLAGGED }, { "seen", CAMEL_MESSAGE_SEEN }, { "attachments", CAMEL_MESSAGE_ATTACHMENTS }, { "junk", CAMEL_MESSAGE_JUNK }, { "secure", CAMEL_MESSAGE_SECURE }, { NULL, 0 } }; I am surprised to see "draft" associated with CAMEL_MESSAGE_DELETED. IMHO it should be replaced by CAMEL_MESSAGE_DRAFT. This bug was initially reported at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388519 by Laurent.
hihi, that piece of code is dated 2000-december-02. :-)
Is it kept like that deliberately or should we change it. Any suggestions. I would love to try it.
Is this still valid?
Fixed in git now at least. Closing.