From 2e55f851fb04637dac674bd0d9deb2a071026ba5 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 3 Apr 2002 22:55:34 +0000 Subject: Set the window title/icon here instead. 2002-04-03 Jeffrey Stedfast * message-tag-followup.c (construct): Set the window title/icon here instead. * message-tag-editor.c (message_tag_editor_init): Don't set the title or window icon here, this is a generic class. * mail-format.c (handle_multipart_signed): Replace get_url_for_icon with the new mail_display_get_url_for_icon function. (handle_multipart_digest): Here too. (get_cid): Use mail_display_add_url instead. (get_location): Same. (handle_text_enriched): Here too. (handle_multipart_signed): And here. * message-tag-followup.c (message_tag_followup_i18n_name): Use the U_() macro, not the _() macro as it is what we really want. * mail-ops.c (mail_send_message): Don't cast the message into a CamelMedium before sending anymore. * mail-callbacks.c (expunge_folder): Set the followup argument to NULL here. (done_message_selected): Get the followup value here and pass it to the mail-display here. (do_mail_fetch_and_print): Again with the NULL followup here. * folder-browser.c (folder_browser_set_message_preview): Update to pass in NULL as the followup since we are setting the message to NULL here. (done_message_selected): Get and set the appropriate followup value here. (do_message_selected): Update to pass in NULL as the followup since we are setting the message to NULL here. * mail-display.c (mail_display_set_message): Now takes a followup tag value. (mail_display_init): Set md->followup to NULL. (mail_display_destroy): Free md->followup. (mail_display_add_url): New: replaces the static add_url function originally in mail-format.c (mail_display_get_url_for_icon): New: replaces get_url_for_icon which was originally in mail-format.c svn path=/trunk/; revision=16334 --- mail/mail-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-ops.c') diff --git a/mail/mail-ops.c b/mail/mail-ops.c index be6c2ed8ed..13cd285f37 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -506,7 +506,7 @@ mail_send_message (CamelMimeMessage *message, const char *destination, camel_address_cat (recipients, CAMEL_ADDRESS (iaddr)); } - camel_transport_send_to (xport, CAMEL_MEDIUM (message), from, recipients, ex); + camel_transport_send_to (xport, message, from, recipients, ex); camel_object_unref (CAMEL_OBJECT (recipients)); camel_object_unref (CAMEL_OBJECT (from)); -- cgit v1.2.3