aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-06-27 03:13:24 +0800
committerDan Winship <danw@src.gnome.org>2001-06-27 03:13:24 +0800
commit03d2f262c0d2094b8b4d7fdbeb45adbff0ade372 (patch)
treee4b556a805d300dc7b51a449d62dbd32356b5b27 /mail/mail-callbacks.c
parent1b6c44d638d882e71f0961b4b23f54d01520f237 (diff)
downloadgsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.tar
gsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.tar.gz
gsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.tar.bz2
gsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.tar.lz
gsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.tar.xz
gsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.tar.zst
gsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.zip
Don't pop up a progress dialog to say "I already finished this a while
* mail-mt.c (op_status_timeout): Don't pop up a progress dialog to say "I already finished this a while ago". * component-factory.c (storage_create_folder): Pass the path prefix to folder_created so it can add it to the folder tree in the right place. * mail-callbacks.c (folder_created): Take a path prefix. svn path=/trunk/; revision=10508
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index e5e359e219..7c3db7b418 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1819,15 +1819,12 @@ create_folders (EvolutionStorage *storage, const char *prefix, CamelFolderInfo *
}
void
-folder_created (CamelStore *store, CamelFolderInfo *fi)
+folder_created (CamelStore *store, const char *prefix, CamelFolderInfo *fi)
{
EvolutionStorage *storage;
if ((storage = mail_lookup_storage (store))) {
- if (fi)
- /* FIXME: this won't work. (the "prefix" is wrong) */
- create_folders (storage, "", fi);
-
+ create_folders (storage, prefix, fi);
gtk_object_unref (GTK_OBJECT (storage));
}
}