diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-03 06:36:11 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-03 06:36:11 +0800 |
commit | 405ef3bcf3cf661a017fd133a0771c3cb1b78b3a (patch) | |
tree | 95d06ff9cf7ec13c2cffd25f5164408e295b1c3c /mail/mail-display.h | |
parent | 784fe19dd5554f138a4f24695060ada980665136 (diff) | |
download | gsoc2013-evolution-405ef3bcf3cf661a017fd133a0771c3cb1b78b3a.tar.gz gsoc2013-evolution-405ef3bcf3cf661a017fd133a0771c3cb1b78b3a.tar.zst gsoc2013-evolution-405ef3bcf3cf661a017fd133a0771c3cb1b78b3a.zip |
Updated to use the new Follow-Up tags. Instead of storing a string
2002-08-02 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail/mail-display.h')
-rw-r--r-- | mail/mail-display.h | 11 |
1 files changed, 7 insertions, 4 deletions
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 <camel/camel-stream.h> #include <camel/camel-mime-message.h> #include <camel/camel-medium.h> +#include <camel/camel-folder.h> #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); |