enable/disable option added - Evolution



hi,

as a result of #335747,enable/disable option is added for marking all
messages as complete.

I m attaching the patch.

Let me know if i need to do anything else.

Thanks,
Ushveen
Index: em-folder-browser.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-browser.c,v
retrieving revision 1.77
diff -u -p -r1.77 em-folder-browser.c
--- em-folder-browser.c	2 Jun 2006 18:12:00 -0000	1.77
+++ em-folder-browser.c	20 Jun 2006 10:56:25 -0000
@@ -776,8 +776,7 @@ emfb_mark_all_read(BonoboUIComponent *ui
 
 	if (emfv->folder == NULL)
 		return;
-	
-	if( e_error_run ((GtkWidget *)emfv,"mail:ask-mark-all-read",NULL) == GTK_RESPONSE_YES){
+	if( em_utils_prompt_user((GtkWindow *)emfv, "/apps/evolution/mail/prompts/mark_all_read","mail:ask-mark-all-read", NULL)){
 		uids = message_list_get_uids(emfv->list);
 		camel_folder_freeze(emfv->folder);
 		for (i=0;i<uids->len;i++)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3851
diff -u -p -r1.3851 ChangeLog
--- ChangeLog	12 Jun 2006 04:50:40 -0000	1.3851
+++ ChangeLog	20 Jun 2006 10:56:28 -0000
@@ -1,3 +1,25 @@
+2006-14-06 Ushveen Kaur <kushveen novell com>
+
+	fixes bug#335747
+	* em-folder-browser.c
+	added an option to disable the popup that asks for confirmation for marking all
+	messages as read.


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