diff options
-rw-r--r-- | composer/ChangeLog | 1 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index d9e02d5bb8..73e39d72df 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -2,6 +2,7 @@ * e-msg-composer.c (e_msg_composer_set_send_html): set the FormatHTML property on the editor to let it know the mode. + (e_msg_composer_construct): set the property at construct time. 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index cf1e127813..1b5aeb003b 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1709,6 +1709,11 @@ e_msg_composer_construct (EMsgComposer *composer) if (!composer->editor) return; + /* let the editor know which mode we are in */ + bonobo_widget_set_property (BONOBO_WIDGET (composer->editor), + "FormatHTML", composer->send_html, + NULL); + editor_server = BONOBO_OBJECT (bonobo_widget_get_server (BONOBO_WIDGET (composer->editor))); composer->persist_file_interface |