diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-08-03 02:36:39 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-08-03 02:36:39 +0800 |
commit | e60ee74985082c8cd101d75483022b4513036fb3 (patch) | |
tree | ecc382b37251fcc11211d39e928ee93d6b98e0fe /mail/mail-ops.c | |
parent | c588a84d62d323fdbc61ac6307edda3dc28ccdff (diff) | |
download | gsoc2013-evolution-e60ee74985082c8cd101d75483022b4513036fb3.tar.gz gsoc2013-evolution-e60ee74985082c8cd101d75483022b4513036fb3.tar.zst gsoc2013-evolution-e60ee74985082c8cd101d75483022b4513036fb3.zip |
Connect to the folder_remove signal on the storage. (vfolder_remove): New
2001-08-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (vfolder_create_storage): Connect to the
folder_remove signal on the storage.
(vfolder_remove): New function to remove a vfolder.
svn path=/trunk/; revision=11591
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index cbf0f73481..04b7953630 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1446,13 +1446,13 @@ remove_folder_get (struct _mail_msg *mm) m->removed = FALSE; camel_operation_register (mm->cancel); - + folder = mail_tool_uri_to_folder (m->uri, &mm->ex); - + store = camel_folder_get_parent_store (folder); if (!store) goto done; - + camel_store_delete_folder (store, camel_folder_get_full_name (folder), &mm->ex); m->removed = !camel_exception_is_set (&mm->ex); camel_object_unref (CAMEL_OBJECT (store)); @@ -1460,7 +1460,7 @@ remove_folder_get (struct _mail_msg *mm) done: if (store) camel_object_unref (CAMEL_OBJECT (store)); - + camel_operation_unregister (mm->cancel); } |