aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index f57693bdc0..383b57f89a 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-11 JP Rosevear <jpr@helixcode.com>
+
+ * e-msg-composer.c (e_msg_composer_new_with_message): Use
+ new config accessors
+
2000-08-10 Dan Winship <danw@helixcode.com>
* e-msg-composer.c: Remove unneeded e-setup.h include
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 2b2b92f025..d60343b2b4 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1367,7 +1367,6 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
GList *To = NULL, *Cc = NULL, *Bcc = NULL;
gboolean want_plain, is_html;
CamelDataWrapper *contents;
- const MailConfig *config;
const gchar *subject;
GtkWidget *new;
char *text, *final_text;
@@ -1414,8 +1413,7 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
free_recipients (Cc);
free_recipients (Bcc);
- config = mail_config_fetch ();
- want_plain = !config->send_html;
+ want_plain = !mail_config_send_html ();
contents = camel_medium_get_content_object (CAMEL_MEDIUM (msg));
text = mail_get_message_body (contents, want_plain, &is_html);