diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-07 08:07:06 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-07 08:07:06 +0800 |
commit | 440b4825e907c6d67b543a7589c5d37c69b892cd (patch) | |
tree | 4e2b8d0e2ef4e85fe2d99c554c7d2dfa825289fa /mail/message-list.c | |
parent | 012cc2eecb4b685829467685c88aae3826e2adb7 (diff) | |
download | gsoc2013-evolution-440b4825e907c6d67b543a7589c5d37c69b892cd.tar.gz gsoc2013-evolution-440b4825e907c6d67b543a7589c5d37c69b892cd.tar.zst gsoc2013-evolution-440b4825e907c6d67b543a7589c5d37c69b892cd.zip |
Update for folder creation/existence changes.
* mail-ops.c (fetch_mail):
* folder-browser.c (folder_browser_load_folder): Update for folder
creation/existence changes.
* message-list.c (message_list_set_folder): Remove the code to
create the folder if it doesn't exist, since we don't want to do
that.
svn path=/trunk/; revision=3455
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 6bede24743..957d320fba 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -878,29 +878,6 @@ message_list_set_folder (MessageList *message_list, CamelFolder *camel_folder) message_list->folder = camel_folder; - folder_exists = camel_folder_exists (camel_folder, NULL); - - if (camel_exception_get_id (&ex)) { - printf ("Unable to test for folder existence: %s\n", - ex.desc?ex.desc:"unknown reason"); - return; - } - - if (!folder_exists) { - g_warning ("Folder does not exist, creating it\n"); - /* - if you don't want the directory to be created - automatically here remove this. - */ - camel_folder_create (camel_folder, &ex); - if (camel_exception_get_id (&ex)) { - printf ("Unable to create folder: %s\n", - ex.desc?ex.desc:"unknown_reason"); - return; - } - - } - camel_folder_open (camel_folder, FOLDER_OPEN_RW, &ex); if (camel_exception_get_id (&ex)) { printf ("Unable to open folder: %s\n", |