aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-11 06:08:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-11 06:53:31 +0800
commit699e36491b564069bce8c36a79d4803b5d9492d1 (patch)
treeb5a6e652ed45d589eeb6416bf11194c2e8175130 /mail/e-mail-reader.c
parent18813ccd8f4367ac98348f08e183d858cfe963f5 (diff)
downloadgsoc2013-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/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 3675b5209b..63cbba1cf5 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -377,7 +377,7 @@ action_mail_flag_clear_cb (GtkAction *action,
em_utils_flag_for_followup_clear (window, folder, uids);
- em_format_redraw (EM_FORMAT (formatter));
+ em_format_queue_redraw (EM_FORMAT (formatter));
}
static void
@@ -396,7 +396,7 @@ action_mail_flag_completed_cb (GtkAction *action,
em_utils_flag_for_followup_completed (window, folder, uids);
- em_format_redraw (EM_FORMAT (formatter));
+ em_format_queue_redraw (EM_FORMAT (formatter));
}
static void