aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2001-04-26 01:06:45 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-04-26 01:06:45 +0800
commit89c5aea7a607297c2d542a428ec1d5469d39d57c (patch)
treebda76035048f0128858e37fd730ee02bb6d85cb0 /composer/e-msg-composer.c
parentf0f1bd1f90e073029ccbc51bc10cc59c37c9caba (diff)
downloadgsoc2013-evolution-89c5aea7a607297c2d542a428ec1d5469d39d57c.tar.gz
gsoc2013-evolution-89c5aea7a607297c2d542a428ec1d5469d39d57c.tar.zst
gsoc2013-evolution-89c5aea7a607297c2d542a428ec1d5469d39d57c.zip
block/unblock redraw
2001-04-25 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): block/unblock redraw svn path=/trunk/; revision=9564
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index b7af77d89a..8565d9becf 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2468,6 +2468,8 @@ void
e_msg_composer_set_send_html (EMsgComposer *composer,
gboolean send_html)
{
+ CORBA_Environment ev;
+
g_return_if_fail (composer != NULL);
g_return_if_fail (E_IS_MSG_COMPOSER (composer));
@@ -2478,6 +2480,8 @@ e_msg_composer_set_send_html (EMsgComposer *composer,
composer->send_html = send_html;
+ CORBA_exception_init (&ev);
+ GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "block-redraw", &ev);
bonobo_ui_component_set_prop (
composer->uic, "/commands/FormatHtml",
"state", composer->send_html ? "1" : "0", NULL);
@@ -2489,6 +2493,8 @@ e_msg_composer_set_send_html (EMsgComposer *composer,
set_config (composer, "FormatHTML", composer->send_html);
if (composer->sig_file)
e_msg_composer_set_sig_file (composer, composer->sig_file);
+ GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "unblock-redraw", &ev);
+ CORBA_exception_free (&ev);
}
/**