diff options
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index adbd10f91c..e05826537e 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2000-07-09 Dan Winship <danw@helixcode.com> + + * e-msg-composer.c (set_editor_text): Don't load "" into the + editor, because it will cause the editor component to g_warning. + 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * e-msg-composer-hdrs.c: Removed the extra frame here. 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) |