diff options
author | Milan Crha <mcrha@redhat.com> | 2007-11-20 16:57:40 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-11-20 16:57:40 +0800 |
commit | b865316e7e456d71244a242a084aa2a421096eac (patch) | |
tree | dda88398848390d4b9a8624d8c67c9cfe90afac9 /mail/em-format-html.c | |
parent | 502751f24093c81294847cf89bd58380cf0eb829 (diff) | |
download | gsoc2013-evolution-b865316e7e456d71244a242a084aa2a421096eac.tar.gz gsoc2013-evolution-b865316e7e456d71244a242a084aa2a421096eac.tar.zst gsoc2013-evolution-b865316e7e456d71244a242a084aa2a421096eac.zip |
** Fix for bug #493783
2007-11-20 Milan Crha <mcrha@redhat.com>
** Fix for bug #493783
* em-format-html.c: (efh_format_timeout): Do not erase old content
when re-formatting same mail, so keep scroll position.
svn path=/trunk/; revision=34554
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r-- | mail/em-format-html.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 228a8aa3ef..dc2109407d 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -1383,10 +1383,11 @@ efh_format_timeout(struct _format_msg *m) mail_msg_free(m); p->last_part = NULL; } else { - hstream = gtk_html_begin(efh->html); - gtk_html_stream_printf(hstream, "<h5>%s</h5>", - _("Formatting Message...")); - gtk_html_stream_close(hstream, GTK_HTML_STREAM_OK); + if (p->last_part != m->message) { + hstream = gtk_html_begin (efh->html); + gtk_html_stream_printf (hstream, "<h5>%s</h5>", _("Formatting Message...")); + gtk_html_stream_close (hstream, GTK_HTML_STREAM_OK); + } hstream = NULL; m->estream = (EMHTMLStream *)em_html_stream_new(efh->html, hstream); |