diff options
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r-- | mail/mail-folder-cache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 58ddf04e4d..65daffc821 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -251,6 +251,10 @@ real_flush_updates(void *o, void *event_data, void *data) EMEventTargetFolder *t = em_event_target_new_folder(e, up->uri, up->new); t->is_inbox = em_folder_tree_model_is_type_inbox (model, up->store, up->full_name); + + if (t->new > 0) + mail_indicate_new_mail (TRUE); + /** @Event: folder.changed * @Title: Folder changed * @Target: EMEventTargetFolder |