diff options
author | Not Zed <NotZed@Ximian.com> | 2004-06-03 17:30:47 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-06-03 17:30:47 +0800 |
commit | c691f3366efd43a8ea4a8cc442d75fe90848acdc (patch) | |
tree | 3bfa846df4673ea626d4d2b2c947fbd90b693f84 | |
parent | 0a7400e900f9235cf6ef73a8978433178a5b8f0c (diff) | |
download | gsoc2013-evolution-c691f3366efd43a8ea4a8cc442d75fe90848acdc.tar.gz gsoc2013-evolution-c691f3366efd43a8ea4a8cc442d75fe90848acdc.tar.zst gsoc2013-evolution-c691f3366efd43a8ea4a8cc442d75fe90848acdc.zip |
put this back in, local folders not being noted properly all the time.
2004-06-02 Not Zed <NotZed@Ximian.com>
* mail-component.c (mc_add_local_store_done): put this back in,
local folders not being noted properly all the time.
svn path=/trunk/; revision=26165
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-component.c | 14 |
2 files changed, 18 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index d6108a27de..f15db97a77 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-06-02 Not Zed <NotZed@Ximian.com> + + * mail-component.c (mc_add_local_store_done): put this back in, + local folders not being noted properly all the time. + 2004-06-01 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (forward_non_attached): Don't attach diff --git a/mail/mail-component.c b/mail/mail-component.c index ebe949d5b5..7d406ed109 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -182,9 +182,21 @@ mc_add_store(MailComponent *component, CamelStore *store, const char *name, void } static void +mc_add_local_store_done(CamelStore *store, CamelFolderInfo *info, void *data) +{ + /*MailComponent *mc = data;*/ + int i; + + for (i=0;i<sizeof(mc_default_folders)/sizeof(mc_default_folders[0]);i++) { + if (mc_default_folders[i].folder) + mail_note_folder(mc_default_folders[i].folder); + } +} + +static void mc_add_local_store(CamelStore *store, const char *name, MailComponent *mc) { - mc_add_store(mc, store, name, NULL); + mc_add_store(mc, store, name, mc_add_local_store_done); camel_object_unref(store); g_object_unref(mc); } |