From 699e36491b564069bce8c36a79d4803b5d9492d1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 10 Aug 2010 18:08:55 -0400 Subject: 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. --- mail/em-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/em-utils.c') diff --git a/mail/em-utils.c b/mail/em-utils.c index 2bc0143eb3..fe7c248d0e 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -455,7 +455,7 @@ em_utils_flag_for_followup (EMailReader *reader, camel_tag_list_free (&tags); formatter = e_mail_reader_get_formatter (reader); - em_format_redraw (EM_FORMAT (formatter)); + em_format_queue_redraw (EM_FORMAT (formatter)); exit: /* XXX We shouldn't be freeing this. */ -- cgit