aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2001-03-28 02:10:19 +0800
committerLarry Ewing <lewing@src.gnome.org>2001-03-28 02:10:19 +0800
commit385e0d6441e21e06063710f476ea9f3212041b3f (patch)
tree06cd848e26d69687297d5c682e7f36b33f7c7c69 /composer
parentf48fac46be7e757d79ea682f46d69a2782d16ae8 (diff)
downloadgsoc2013-evolution-385e0d6441e21e06063710f476ea9f3212041b3f.tar
gsoc2013-evolution-385e0d6441e21e06063710f476ea9f3212041b3f.tar.gz
gsoc2013-evolution-385e0d6441e21e06063710f476ea9f3212041b3f.tar.bz2
gsoc2013-evolution-385e0d6441e21e06063710f476ea9f3212041b3f.tar.lz
gsoc2013-evolution-385e0d6441e21e06063710f476ea9f3212041b3f.tar.xz
gsoc2013-evolution-385e0d6441e21e06063710f476ea9f3212041b3f.tar.zst
gsoc2013-evolution-385e0d6441e21e06063710f476ea9f3212041b3f.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. (e_msg_composer_construct): set the FormatHTML property at construct time. svn path=/trunk/; revision=8982
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog1
-rw-r--r--composer/e-msg-composer.c5
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