diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-10 03:45:33 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-10 03:45:33 +0800 |
commit | d4d2509314390320af15be637fba93fb969ec24f (patch) | |
tree | 3c84a9a0c60195737c0476ba7c6a206ecb72394a /mail | |
parent | 6b9e5c926dd2087317fb8472697e1191862923de (diff) | |
download | gsoc2013-evolution-d4d2509314390320af15be637fba93fb969ec24f.tar gsoc2013-evolution-d4d2509314390320af15be637fba93fb969ec24f.tar.gz gsoc2013-evolution-d4d2509314390320af15be637fba93fb969ec24f.tar.bz2 gsoc2013-evolution-d4d2509314390320af15be637fba93fb969ec24f.tar.lz gsoc2013-evolution-d4d2509314390320af15be637fba93fb969ec24f.tar.xz gsoc2013-evolution-d4d2509314390320af15be637fba93fb969ec24f.tar.zst gsoc2013-evolution-d4d2509314390320af15be637fba93fb969ec24f.zip |
close and expunge the source folder after copying it to a local folder.
* mail-ops.c (fetch_mail): close and expunge the source folder
after copying it to a local folder.
svn path=/trunk/; revision=3493
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 28dbdbfa72..23d524cdf3 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-06-09 Dan Winship <danw@helixcode.com> + + * mail-ops.c (fetch_mail): close and expunge the source folder + after copying it to a local folder. + 2000-06-09 Ettore Perazzoli <ettore@helixcode.com> * component-factory.c (create_view): Updated to match the changes diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 9a41b9d02e..5f215c90d5 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -218,6 +218,9 @@ fetch_mail (GtkWidget *button, gpointer user_data) gtk_object_unref((GtkObject *)msg); } camel_folder_free_uids (sourcefolder, uids); + camel_folder_close (sourcefolder, TRUE, ex); + if (camel_exception_is_set (ex)) + mail_exception_dialog ("", ex, fb); gtk_object_unref((GtkObject *)sourcefolder); } else { printf("we can search on this folder, performing search!\n"); |