aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 99ba6895df..657275df98 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1925,6 +1925,12 @@ mail_display_redisplay (MailDisplay *md, gboolean reset_scroll)
{
if (md->destroyed)
return;
+
+ /* we're in effect stealing the queued redisplay */
+ if (md->idle_id) {
+ g_source_remove(md->idle_id);
+ md->idle_id = 0;
+ }
fetch_cancel(md);
@@ -2000,7 +2006,7 @@ mail_display_set_charset (MailDisplay *mail_display, const char *charset)
{
g_free (mail_display->charset);
mail_display->charset = g_strdup (charset);
-
+
mail_display_queue_redisplay (mail_display);
}