[evolution-patches] fix for bug #42118



fix to make mark_as_unseen consistant with the envelope toggle

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2711
diff -u -r1.2711 ChangeLog
--- ChangeLog	30 Apr 2003 03:08:46 -0000	1.2711
+++ ChangeLog	1 May 2003 02:20:17 -0000
@@ -1,3 +1,9 @@
+2003-04-30  Jeffrey Stedfast  <fejj ximian com>
+
+	* mail-callbacks.c (mark_as_unseen): To be consistant with the
+	message-list envelope toggle, undelete the message when we unmark
+	the Seen flag here as well. Fixes bug #42118.
+
 2003-04-29  Jeremy Katz  <katzj redhat com>
 
 	* folder-browser-ui.c (fbui_sensitise_item): Don't just blindly
Index: mail-callbacks.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-callbacks.c,v
retrieving revision 1.439
diff -u -r1.439 mail-callbacks.c
--- mail-callbacks.c	23 Apr 2003 18:10:45 -0000	1.439
+++ mail-callbacks.c	1 May 2003 02:20:18 -0000
@@ -2055,7 +2055,7 @@
 		fb->seen_id = 0;
 	}
 	
-	flag_messages (fb, CAMEL_MESSAGE_SEEN, 0);
+	flag_messages (fb, CAMEL_MESSAGE_SEEN | CAMEL_MESSAGE_DELETED, 0);
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]