aboutsummaryrefslogtreecommitdiffstats
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
parentf6b959c9ecc0af67fb7607de5ae6645b4f3e2cbc (diff)
downloadgsoc2013-evolution-1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f.tar
gsoc2013-evolution-1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f.tar.gz
gsoc2013-evolution-1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f.tar.bz2
gsoc2013-evolution-1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f.tar.lz
gsoc2013-evolution-1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f.tar.xz
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
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-callbacks.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 46216d903b..939cf82ffe 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2002-08-08 Not Zed <NotZed@Ximian.com>
* folder-browser.c (folder_browser_toggle_threads): Force a
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;