diff options
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r-- | mail/em-folder-browser.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 06117538c5..3950640c98 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -175,6 +175,7 @@ enum { VIEW_NO_LABEL, VIEW_LABEL, VIEW_ANY_FIELD_CONTAINS, + VIEW_MESSAGES_MARKED_AS_IMPORTANT, VIEW_CUSTOMIZE }; @@ -194,6 +195,7 @@ static ESearchBarItem temp_view_items[] = { { N_("Recent Messages"), VIEW_RECENT_MESSAGES, 0 }, { N_("Last 5 Days' Messages"), VIEW_LAST_FIVE_DAYS, 0 }, { N_("Messages with Attachments"), VIEW_WITH_ATTACHMENTS, 0 }, + { N_("Important Messages"), VIEW_MESSAGES_MARKED_AS_IMPORTANT, 0}, { N_("Messages Not Junk"), VIEW_NOT_JUNK, 0 }, /* { NULL, 0, NULL }, */ /* { N_("Customize"), NOT_IMPLEMENTED, NULL }, */ @@ -764,6 +766,9 @@ get_view_query (ESearchBar *esb) tag = (char *)g_object_get_data (G_OBJECT (menu_item), "LabelTag"); view_sexp = g_strdup_printf ("(match-all (= (user-tag \"label\") \"%s\"))",tag); break; + case VIEW_MESSAGES_MARKED_AS_IMPORTANT: + view_sexp = "(match-all (system-flag \"Flagged\"))"; + break; case VIEW_ANY_FIELD_CONTAINS: break; |