[evolution-patches] Mailer : Patch for bug#311719 (UI)
- From: Antony Vincent Pandian <santony gmail com>
- To: evolution-patches <evolution-patches lists ximian com>
- Cc: Parthasarathi <sparthasarathi novell com>
- Subject: [evolution-patches] Mailer : Patch for bug#311719 (UI)
- Date: Wed, 10 Aug 2005 00:17:35 +0530
I have attached the patch for the bug # 311719.This patch
correspondingly enables and disables the Mark as Junk and Mark as Not
Junk in the right click menu of the messages.
--
Luv,
S.Antony Vincent Pandian
--- /home/evolution/Antony/junk_disable_bug/em-folder-view.c 2005-08-09 23:40:36.000000000 +0530
+++ em-folder-view.c 2005-08-10 00:16:36.906032664 +0530
@@ -1127,6 +1127,19 @@ emfv_popup(EMFolderView *emfv, GdkEvent
for (i=0;i<sizeof(emfv_popup_items)/sizeof(emfv_popup_items[0]);i++)
menus = g_slist_prepend(menus, &emfv_popup_items[i]);
+ if (target->folder->folder_flags & CAMEL_FOLDER_IS_JUNK){
+ emfv_popup_items[19].enable = 1;
+ emfv_popup_items[20].enable = 0;
+ }
+ else if (target->folder->folder_flags & CAMEL_FOLDER_IS_TRASH){
+ emfv_popup_items[19].enable = 1;
+ emfv_popup_items[20].enable = 1;
+ }
+ else{
+ emfv_popup_items[19].enable = 0;
+ emfv_popup_items[20].enable = 1;
+ }
+
e_popup_add_items((EPopup *)emp, menus, NULL, emfv_popup_items_free, emfv);
i = 1;
--- /home/evolution/Antony/empty_trash_bug/ChangeLog 2005-08-05 18:34:26.000000000 +0530
+++ /home/evolution/Antony/junk_disable_bug/ChangeLog 2005-08-10 00:23:56.296235200 +0530
@@ -1,3 +1,9 @@
+2005-08-10 S.Antony Vincent Pandian <santony gmail com>
+
+ * em-folder-view.c : Fix #311719. Change the enable flag for
+ the Mark as Junk and Mark as Not Junk Menu Items in the right
+ click menu of the messages.
+
2005-07-29 Shreyas Srinivasan <sshreyas novell com>
* mail-ops.c: Fix #311223. Include <camel/camel-multipart.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]