Index: em-folder-browser.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-browser.c,v
retrieving revision 1.73
diff -u -p -r1.73 em-folder-browser.c
--- em-folder-browser.c	16 Jan 2006 08:18:31 -0000	1.73
+++ em-folder-browser.c	26 Jan 2006 19:01:03 -0000
@@ -75,6 +75,7 @@
 #include <camel/camel-search-private.h>
 
 #include "e-util/e-dialog-utils.h"
+#include "e-util/e-error.h"
 #include "e-util/e-util-private.h"
 #include "em-utils.h"
 #include "em-composer-utils.h"
@@ -727,13 +728,15 @@ emfb_mark_all_read(BonoboUIComponent *ui
 
 	if (emfv->folder == NULL)
 		return;
-
-	uids = message_list_get_uids(emfv->list);
-	camel_folder_freeze(emfv->folder);
-	for (i=0;i<uids->len;i++)
-		camel_folder_set_message_flags(emfv->folder, uids->pdata[i], CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN);
-	camel_folder_thaw(emfv->folder);
-	message_list_free_uids(emfv->list, uids);
+	
+	if( e_error_run ((GtkWidget *)emfv,"mail:ask-mark-read",NULL) == GTK_RESPONSE_YES){
+		uids = message_list_get_uids(emfv->list);
+		camel_folder_freeze(emfv->folder);
+		for (i=0;i<uids->len;i++)
+			camel_folder_set_message_flags(emfv->folder, uids->pdata[i], CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN);
+		camel_folder_thaw(emfv->folder);
+		message_list_free_uids(emfv->list, uids);
+	}
 }
 
 static void
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3780
diff -u -p -r1.3780 ChangeLog
--- ChangeLog	23 Jan 2006 20:11:59 -0000	1.3780
+++ ChangeLog	26 Jan 2006 19:04:27 -0000
@@ -1,3 +1,8 @@
+2006-01-27  Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
+
+	**Fixes Bug 325786
+	*em-folder-browser.c: Added code to display a prompt before marking All messages as Read
+
 2006-01-23  Andre Klapper <a9016009@gmx.de>
 
 	* mail.error.xml: fixed a typo. Fixes bug 328306.
