[evolution] Add a 'list' option to the Mail Free Form expression
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Add a 'list' option to the Mail Free Form expression
- Date: Mon, 30 Mar 2015 16:35:51 +0000 (UTC)
commit 5bfbff88393ecbb4c89d42c459634ee3fab23981
Author: Milan Crha <mcrha redhat com>
Date: Mon Mar 30 18:35:08 2015 +0200
Add a 'list' option to the Mail Free Form expression
mail/e-mail-free-form-exp.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-free-form-exp.c b/mail/e-mail-free-form-exp.c
index fb7864b..39af793 100644
--- a/mail/e-mail-free-form-exp.c
+++ b/mail/e-mail-free-form-exp.c
@@ -151,6 +151,16 @@ mail_ffe_subject (const gchar *word,
}
static gchar *
+mail_ffe_list (const gchar *word,
+ const gchar *options,
+ const gchar *hint)
+{
+ const gchar *header_names[] = { "x-camel-mlist", NULL };
+
+ return mail_ffe_build_header_sexp (word, options, header_names);
+}
+
+static gchar *
mail_ffe_header (const gchar *word,
const gchar *options,
const gchar *hint)
@@ -492,6 +502,7 @@ static const EFreeFormExpSymbol mail_ffe_symbols[] = {
{ "cc:c:", NULL, mail_ffe_cc },
{ "recips:r", NULL, mail_ffe_recips },
{ "subject:s", NULL, mail_ffe_subject },
+ { "list", NULL, mail_ffe_list },
{ "header:h", NULL, mail_ffe_header },
{ "exists:e", NULL, mail_ffe_exists },
{ "tag", NULL, mail_ffe_tag },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]