From ad245944787560f84f5972f9d9c0391562692a33 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Tue, 27 Mar 2001 10:37:07 +0000 Subject: set the FormatHTML property on the editor to let it know the mode. 2001-03-27 Larry Ewing * e-msg-composer.c (e_msg_composer_set_send_html): set the FormatHTML property on the editor to let it know the mode. svn path=/trunk/; revision=8974 --- composer/ChangeLog | 5 +++++ composer/e-msg-composer.c | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'composer') 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 + + * 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 * 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); } -- cgit