aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index a7213a55ff..c48260a1b6 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1426,9 +1426,7 @@ enum {
IS_MAILING_LIST = 1<<6,
CAN_RESEND = 1<<7,
CAN_MARK_IMPORTANT = 1<<8,
- CAN_MARK_UNIMPORTANT = 1<<9,
- CAN_MARK_NEEDS_REPLY = 1<<10,
- CAN_MARK_DOESNT_NEED_REPLY = 1<<11
+ CAN_MARK_UNIMPORTANT = 1<<9
};
#define MLIST_VFOLDER (3)
@@ -1468,8 +1466,6 @@ static EPopupMenu context_menu[] = {
{ N_("Mark as U_nread"), NULL, GTK_SIGNAL_FUNC (mark_as_unseen), NULL, CAN_MARK_UNREAD },
{ N_("Mark as _Important"), NULL, GTK_SIGNAL_FUNC (mark_as_important), NULL, CAN_MARK_IMPORTANT },
{ N_("Mark as Unim_portant"), NULL, GTK_SIGNAL_FUNC (mark_as_unimportant), NULL, CAN_MARK_UNIMPORTANT },
- { N_("Mark as Needing Reply"), NULL, GTK_SIGNAL_FUNC (mark_as_needing_reply), NULL, CAN_MARK_NEEDS_REPLY },
- { N_("Mark as Not Needing Reply"), NULL, GTK_SIGNAL_FUNC (mark_as_not_needing_reply), NULL, CAN_MARK_DOESNT_NEED_REPLY },
E_POPUP_SEPARATOR,
@@ -1560,8 +1556,6 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
gboolean have_unseen = FALSE;
gboolean have_important = FALSE;
gboolean have_unimportant = FALSE;
- gboolean have_needs_reply = FALSE;
- gboolean have_doesnt_need_reply = FALSE;
for (i = 0; i < uids->len; i++) {
info = camel_folder_get_message_info (fb->folder, uids->pdata[i]);
@@ -1583,11 +1577,6 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
else
have_unimportant = TRUE;
- if (info->flags & CAMEL_MESSAGE_NEEDS_REPLY)
- have_needs_reply = TRUE;
- else
- have_doesnt_need_reply = TRUE;
-
camel_folder_free_message_info (fb->folder, info);
if (have_seen && have_unseen && have_deleted && have_undeleted)
@@ -1609,11 +1598,6 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
if (!have_important)
enable_mask |= CAN_MARK_UNIMPORTANT;
- if (!have_needs_reply)
- enable_mask |= CAN_MARK_DOESNT_NEED_REPLY;
- if (!have_doesnt_need_reply)
- enable_mask |= CAN_MARK_NEEDS_REPLY;
-
/*
* Hide items that wont get used.
*/
@@ -1637,13 +1621,6 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
else
hide_mask |= CAN_MARK_UNIMPORTANT;
}
-
- if (!(have_needs_reply && have_doesnt_need_reply)) {
- if (have_needs_reply)
- hide_mask |= CAN_MARK_NEEDS_REPLY;
- else
- hide_mask |= CAN_MARK_DOESNT_NEED_REPLY;
- }
}
/* free uids */