From b5e7713c8e99f2cddf309d3034108c18190fd3cb Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Mon, 10 Dec 2001 03:50:36 +0000 Subject: Implements marking messages as "Need Reply". Implements marking messages as "Need Reply". 2001-12-09 Jon Trowbridge * mail-need-reply.xpm: Added a really, really ugly and awful icon to symbolize "message needs a reply". * Makefile.am (EXTRA_DIST): Added mail-need-reply.xpm. 2001-12-09 Jon Trowbridge * camel-folder-summary.c: Add "NeedsReply" to the flag_names array for CAMEL_MESSAGE_NEEDS_REPLY. * camel-folder-summary.h: Added CAMEL_MESSAGE_NEEDS_REPLY flag. 2001-12-09 Jon Trowbridge * vfoldertypes.xml: Add "Needs Reply" option to different status types. * filtertypes.xml: Add "Needs Reply" option to different status types. 2001-12-09 Jon Trowbridge * message-list.c: #include "art/mail-need-reply.xpm". (ml_tree_value_at): Adjust magic numbers, show "Need Reply" icon if the message needs reply. (message_list_create_extras): Adjust magic numbers to add new icon. (on_click): Changed to toggle between unread, read, and need reply when the status icon is clicked. * mail-callbacks.c (mark_as_needing_reply): Added. (mark_as_not_needing_reply): Added. Add "set" value to struct post_send_data. (composer_sent_cb): Use both "flags" and "set" elements of post_send_data when setting message flags. (mail_reply): Clear "Needs Reply" flag when we actually reply to a message. * folder-browser.c: Changed flag values to be given by bit-shifting (1<<5) vs. base-ten (32). Added CAN_MARK_DOESNT_NEED_REPLY flag. Added "Mark as Needing Reply" and "Mark as Not Needing Reply" elements to context menu. (on_right_click): Hide "Mark as (Not) Needing Reply" context menu elements as appropriate. svn path=/trunk/; revision=14946 --- camel/camel-folder-summary.h | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/camel-folder-summary.h') diff --git a/camel/camel-folder-summary.h b/camel/camel-folder-summary.h index f63a1d49a0..ee5b69bf37 100644 --- a/camel/camel-folder-summary.h +++ b/camel/camel-folder-summary.h @@ -57,6 +57,7 @@ enum _CamelMessageFlags { CAMEL_MESSAGE_FLAGGED = 1<<3, CAMEL_MESSAGE_SEEN = 1<<4, CAMEL_MESSAGE_ATTACHMENTS = 1<<5, + CAMEL_MESSAGE_NEEDS_REPLY = 1<<6, /* following flags are for the folder, and are not really permanent flags */ CAMEL_MESSAGE_FOLDER_FLAGGED = 1<<16, /* for use by the folder implementation */ -- cgit v1.2.3