aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 0d477c959f..d9e02d5bb8 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-27 Larry Ewing <lewing@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_set_send_html): set the
+ FormatHTML property on the editor to let it know the mode.
+
2001-03-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new): Set
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 7edc282f1e..cf1e127813 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2372,6 +2372,10 @@ e_msg_composer_set_send_html (EMsgComposer *composer,
composer->uic, "/commands/FormatHtml",
"state", composer->send_html ? "1" : "0", NULL);
+ /* let the editor know which mode we are in */
+ bonobo_widget_set_property (BONOBO_WIDGET (composer->editor), "FormatHTML",
+ composer->send_html, NULL);
+
set_config (composer, "FormatHTML", composer->send_html);
}