From 7ac8a9c5e8bc272a75bed0c2509b525b907753ba Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 15 Feb 2001 23:54:16 +0000 Subject: Use mail_storage_create_folder 2001-02-15 Jeffrey Stedfast * mail-ops.c (do_scan_subfolders): Use mail_storage_create_folder * mail-callbacks.c (mail_storage_create_folder): Convenience function so we can keep all the evolution_storage_add_new_folder() code in one place as much as possible. * subscribe-dialog.c (recursive_add_folder): Use 'name' rather than the no-description bs since that's what all the other places do. * mail-callbacks.c (folder_created): New callback to handle the "folder_created" signal - handles CamelFolderInfo's recursively. (folder_deleted): Same but for "folder_deleted". * component-factory.c (storage_create_folder): Instead of doing the evolution_storage_new_folder() stuff by hand, pass it off to the new callback: folder_created(). At some point this will be unecessary as we'll attach this callback to the "folder_created" signal. svn path=/trunk/; revision=8247 --- mail/subscribe-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/subscribe-dialog.c') diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c index 5c8ee04180..354fc0e780 100644 --- a/mail/subscribe-dialog.c +++ b/mail/subscribe-dialog.c @@ -356,7 +356,7 @@ recursive_add_folder (EvolutionStorage *storage, const char *path, } evolution_storage_new_folder (storage, path, name, "mail", url, - _("(No description)"), FALSE); + name, FALSE); } static void -- cgit v1.2.3