aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-08 13:40:00 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-08 13:40:00 +0800
commit1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f (patch)
treed5c3aacc08463282e23ce2bab303e2f403b9c9bd /mail/mail-callbacks.c
parentf6b959c9ecc0af67fb7607de5ae6645b4f3e2cbc (diff)
downloadgsoc2013-evolution-1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f.tar.gz
gsoc2013-evolution-1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f.tar.zst
gsoc2013-evolution-1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f.zip
Don't check permanent_flags for the CAMEL_MESSAGE_DELETED bit here, if we
2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (delete_msg): Don't check permanent_flags for the CAMEL_MESSAGE_DELETED bit here, if we are gonna check to see if the folder supports the permanent flag then there are better places to check this. Besides, it was the cause for bug #28038. svn path=/trunk/; revision=17740
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 3cca63a197..2bd3b1075b 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2544,6 +2544,7 @@ delete_msg (GtkWidget *button, gpointer user_data)
if (FOLDER_BROWSER_IS_DESTROYED (fb))
return;
+
if (!(fb->folder->permanent_flags & CAMEL_MESSAGE_DELETED))
return;