aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-11-02 11:56:41 +0800
committerDan Winship <danw@src.gnome.org>2000-11-02 11:56:41 +0800
commitf665251bcf9820840d406d096358034178e1ab40 (patch)
tree094581f112a76e6362686ff6a90ef2f5d52d9844 /mail/mail-vfolder.c
parentf67d6c30e20228ca40064fb3dc077527cbc122c3 (diff)
downloadgsoc2013-evolution-f665251bcf9820840d406d096358034178e1ab40.tar
gsoc2013-evolution-f665251bcf9820840d406d096358034178e1ab40.tar.gz
gsoc2013-evolution-f665251bcf9820840d406d096358034178e1ab40.tar.bz2
gsoc2013-evolution-f665251bcf9820840d406d096358034178e1ab40.tar.lz
gsoc2013-evolution-f665251bcf9820840d406d096358034178e1ab40.tar.xz
gsoc2013-evolution-f665251bcf9820840d406d096358034178e1ab40.tar.zst
gsoc2013-evolution-f665251bcf9820840d406d096358034178e1ab40.zip
Make "Get Mail" even more functional on IMAP (scans all folders),
and do a first cut at folder tree highlighting (for IMAP/news only). * mail-ops.c (do_fetch_mail): For imap (sigh, we *still* shouldn't be hardcoding that), rescan the store's folder tree, rescan each changed folder for new messages, and update the shell folder tree. (do_scan_subfolders): Update for component-factory.c changes, and set folder display names and highlights appropriately when building the storage. * component-factory.c (add_storage): Make this static (was mail_add_new_storage). Use camel_service_get_name for the name rather than url->host. (Among other things, this lets you use a single machine as both an IMAP server and a news server.) (mail_lookup_storage): Hash storages based on their CamelStore rather than the URL. (factory_destroy): Disconnect each of the CamelStores in the storages_hash. * subscribe-dialog.c (cleanup_subscribe_folder): * mail-vfolder.c (vfolder_refresh): Pass "highlighted" flag to evolution_storage_new_folder svn path=/trunk/; revision=6342
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r--mail/mail-vfolder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index a0c3289806..5bdac810cc 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -91,7 +91,7 @@ vfolder_refresh(void)
path = g_strdup_printf("/%s", info->name);
evolution_storage_removed_folder(vfolder_storage, path);
evolution_storage_new_folder(vfolder_storage, path, g_basename(path),
- "mail", uri, info->name);
+ "mail", uri, info->name, FALSE);
g_free(uri);
g_free(path);
}
@@ -104,7 +104,7 @@ vfolder_refresh(void)
uri = g_strdup_printf("vfolder:%s", info->name);
path = g_strdup_printf("/%s", info->name);
evolution_storage_new_folder(vfolder_storage, path, g_basename(path),
- "mail", uri, info->name);
+ "mail", uri, info->name, FALSE);
g_free(uri);
g_free(path);
}