aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2001-03-27 18:37:07 +0800
committerLarry Ewing <lewing@src.gnome.org>2001-03-27 18:37:07 +0800
commitad245944787560f84f5972f9d9c0391562692a33 (patch)
treed00ae279dec2fd13319cd8f42d691c7213d4d125 /composer/e-msg-composer.c
parent0fc9632e427c110c972315f70f4135359c95095a (diff)
downloadgsoc2013-evolution-ad245944787560f84f5972f9d9c0391562692a33.tar
gsoc2013-evolution-ad245944787560f84f5972f9d9c0391562692a33.tar.gz
gsoc2013-evolution-ad245944787560f84f5972f9d9c0391562692a33.tar.bz2
gsoc2013-evolution-ad245944787560f84f5972f9d9c0391562692a33.tar.lz
gsoc2013-evolution-ad245944787560f84f5972f9d9c0391562692a33.tar.xz
gsoc2013-evolution-ad245944787560f84f5972f9d9c0391562692a33.tar.zst
gsoc2013-evolution-ad245944787560f84f5972f9d9c0391562692a33.zip
set the FormatHTML property on the editor to let it know the mode.
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. svn path=/trunk/; revision=8974
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c4
1 files changed, 4 insertions, 0 deletions
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);
}