diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-08-11 06:08:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-08-11 06:53:31 +0800 |
commit | 699e36491b564069bce8c36a79d4803b5d9492d1 (patch) | |
tree | b5a6e652ed45d589eeb6416bf11194c2e8175130 /mail/em-format-html.c | |
parent | 18813ccd8f4367ac98348f08e183d858cfe963f5 (diff) | |
download | gsoc2013-evolution-699e36491b564069bce8c36a79d4803b5d9492d1.tar.gz gsoc2013-evolution-699e36491b564069bce8c36a79d4803b5d9492d1.tar.zst gsoc2013-evolution-699e36491b564069bce8c36a79d4803b5d9492d1.zip |
Change em_format_redraw() to em_format_queue_redraw().
This changes the behavior of the function: instead of redrawing
immediately it schedules the redraw from an idle callback. This
allows us to make multiple changes to EMFormat before redrawing.
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r-- | mail/em-format-html.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 5818ad2a35..d8f4869577 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -980,7 +980,7 @@ efh_init (EMFormatHTML *efh, g_signal_connect_swapped ( efh, "notify::mark-citations", - G_CALLBACK (em_format_redraw), NULL); + G_CALLBACK (em_format_queue_redraw), NULL); e_extensible_load_extensions (E_EXTENSIBLE (efh)); } @@ -1040,7 +1040,7 @@ em_format_html_load_images (EMFormatHTML *efh) /* This will remain set while we're still * rendering the same message, then it wont be. */ efh->priv->load_images_now = TRUE; - em_format_redraw (EM_FORMAT (efh)); + em_format_queue_redraw (EM_FORMAT (efh)); } void |