From 405ef3bcf3cf661a017fd133a0771c3cb1b78b3a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 2 Aug 2002 22:36:11 +0000 Subject: Updated to use the new Follow-Up tags. Instead of storing a string 2002-08-02 Jeffrey Stedfast * mail-display.c (mail_display_render): Updated to use the new Follow-Up tags. Instead of storing a string containing the follow-up tag value, we now have to store the CamelMessageInfo. (mail_display_destroy): Unref the folder and the message-info. * folder-browser.c (followup_tag_complete): No longer needed. (on_right_clicked): Use the individual follow-up tags to decide whether or not to enable something. * message-list.c (ml_tree_value_at): Update to use the new Follow-Up tags. * mail-callbacks.c (flag_for_followup): Update to use the new MessageTagEditor API. (tag_editor_ok): Update this too. (flag_followup_completed): Updated this too. (flag_followup_clear): Set all the follow-up tag values to "". svn path=/trunk/; revision=17691 --- mail/mail-display.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'mail/mail-display.h') diff --git a/mail/mail-display.h b/mail/mail-display.h index d7b940f330..bd27001150 100644 --- a/mail/mail-display.h +++ b/mail/mail-display.h @@ -12,6 +12,7 @@ #include #include #include +#include #include "mail-types.h" #include "mail-config.h" /*display_style*/ @@ -26,7 +27,7 @@ struct _MailDisplay { GtkVBox parent; struct _MailDisplayPrivate *priv; - + EScrollFrame *scroll; GtkHTML *html; /* GtkHTMLStream *stream; */ @@ -38,15 +39,16 @@ struct _MailDisplay { char *selection; - struct _FollowUpTag *followup; CamelMimeMessage *current_message; + CamelMessageInfo *info; + CamelFolder *folder; GData **data; /* stack of Content-Location URLs used for combining with a relative URL Content-Location on a leaf part in order to construct the full URL */ struct _location_url_stack *urls; - + GHashTable *related; /* related parts not displayed yet */ /* Sigh. This shouldn't be needed. I haven't figured out why it is @@ -85,7 +87,8 @@ void mail_display_stream_write_when_loaded (MailDisplay *md, void mail_display_set_message (MailDisplay *mail_display, CamelMedium *medium, - const char *followup); + CamelFolder *folder, + CamelMessageInfo *info); void mail_display_set_charset (MailDisplay *mail_display, const char *charset); -- cgit v1.2.3