aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
author9 <NotZed@Ximian.com>2001-09-19 18:01:32 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-19 18:01:32 +0800
commit9ab4b45c155a49e2109a6dee3a315cce54d3bf16 (patch)
tree3fdcaebe2e8d619d68cd6777eea8ddaa4546d1b3 /mail/mail-local.c
parent19648dad9c6459b564addd020320ba5fe821ddad (diff)
downloadgsoc2013-evolution-9ab4b45c155a49e2109a6dee3a315cce54d3bf16.tar.gz
gsoc2013-evolution-9ab4b45c155a49e2109a6dee3a315cce54d3bf16.tar.zst
gsoc2013-evolution-9ab4b45c155a49e2109a6dee3a315cce54d3bf16.zip
Added missing header.
2001-09-19 <NotZed@Ximian.com> * component-factory.c: Added missing header. * mail-local.c (mail_local_store_add_folder): Async load the folder we just added, so it can update the folder counts in the display. We just discard the folder afterwards? * mail-ops.c (mail_get_folder): Use the queued thread to get folders. svn path=/trunk/; revision=12976
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 26ba476dd1..dcc6567638 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -55,6 +55,7 @@
#include "mail-mt.h"
#include "mail-folder-cache.h"
#include "mail-vfolder.h"
+#include "mail-ops.h"
#define d(x)
@@ -826,7 +827,12 @@ static void mail_local_store_add_folder(MailLocalStore *mls, const char *uri, co
d(printf("adding folder: '%s' path = '%s'\n", info->url, path));
+ /* FIXME: should copy info, so we dont get a removed while we're using it? */
camel_object_trigger_event((CamelObject *)mls, "folder_created", info);
+
+ /* this is just so the folder is opened at least once to setup the folder
+ counts etc in the display. Joy eh? The result is discarded. */
+ mail_get_folder(uri, NULL, NULL);
}
struct _search_info {