diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-08-05 14:38:47 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-08-05 14:38:47 +0800 |
commit | a00b972e5a9e3e7131fbf38538d42ecfeca8740c (patch) | |
tree | 5064d92515442e1efe5fcb7e28c7891e09c588eb /mail/em-folder-browser.c | |
parent | 9f6f6f39aabb789354cf437cf9d8e2f1f470efe3 (diff) | |
download | gsoc2013-evolution-a00b972e5a9e3e7131fbf38538d42ecfeca8740c.tar.gz gsoc2013-evolution-a00b972e5a9e3e7131fbf38538d42ecfeca8740c.tar.zst gsoc2013-evolution-a00b972e5a9e3e7131fbf38538d42ecfeca8740c.zip |
Committed Johnny's string changes for search
svn path=/trunk/; revision=32474
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; |