aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-01-02 16:24:23 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-01-02 16:24:23 +0800
commitd00f11c114b7f146741580861f8240ff4a3ab320 (patch)
treea132595e83770a8bc47c9ade565183d77f501b74 /mail/mail-folder-cache.c
parentf3546248ed3fbf5cf613ca25f0b7c024b073ca2b (diff)
downloadgsoc2013-evolution-d00f11c114b7f146741580861f8240ff4a3ab320.tar.gz
gsoc2013-evolution-d00f11c114b7f146741580861f8240ff4a3ab320.tar.zst
gsoc2013-evolution-d00f11c114b7f146741580861f8240ff4a3ab320.zip
Send the folder name along with the new mail event.
2008-01-02 Srinivasa Ragavan <sragavan@novell.com> * em-event.c: (eme_target_free): * em-event.h: * em-folder-tree-model.c: (em_folder_tree_model_get_folder_name): * em-folder-tree-model.h: * mail-folder-cache.c: (real_flush_updates): Send the folder name along with the new mail event. svn path=/trunk/; revision=34744
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 5bd4bf5cf6..b88d8f79ac 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -190,6 +190,7 @@ 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);
+ t->name = em_folder_tree_model_get_folder_name (model, up->store, up->full_name);
if (t->new > 0)
mail_indicate_new_mail (TRUE);