diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-10 07:24:24 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-10 07:24:24 +0800 |
commit | 815c033842cd89c7116c844147470dba50019e29 (patch) | |
tree | 6ea19eba290284fa1cb06b8569c6e516d2d81d7b /composer/e-msg-composer.c | |
parent | 7ffeca2735c0d928be4f5379de136e0606ccb652 (diff) | |
download | gsoc2013-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.c | 5 |
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) |