aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-10 07:24:24 +0800
committerDan Winship <danw@src.gnome.org>2000-07-10 07:24:24 +0800
commit815c033842cd89c7116c844147470dba50019e29 (patch)
tree6ea19eba290284fa1cb06b8569c6e516d2d81d7b /composer/e-msg-composer.c
parent7ffeca2735c0d928be4f5379de136e0606ccb652 (diff)
downloadgsoc2013-evolution-815c033842cd89c7116c844147470dba50019e29.tar.gz
gsoc2013-evolution-815c033842cd89c7116c844147470dba50019e29.tar.zst
gsoc2013-evolution-815c033842cd89c7116c844147470dba50019e29.zip
Don't load "" into the editor, because it will cause the editor component
* e-msg-composer.c (set_editor_text): Don't load "" into the editor, because it will cause the editor component to g_warning. svn path=/trunk/; revision=4026
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index bd675cae34..fdaece58b1 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -388,8 +388,11 @@ set_editor_text (BonoboWidget *editor, const char *text)
if (sig) {
fulltext = g_strdup_printf ("%s<BR>\n<PRE>\n--\n%s<PRE>",
text, sig);
- } else
+ } else {
+ if (!*text)
+ return;
fulltext = (char*)text;
+ }
CORBA_exception_init (&ev);
persist = (Bonobo_PersistStream)