aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-view-actions.h6
-rw-r--r--modules/mail/e-mail-shell-view.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.h b/modules/mail/e-mail-shell-view-actions.h
index 3fb7142fff..99819f000e 100644
--- a/modules/mail/e-mail-shell-view-actions.h
+++ b/modules/mail/e-mail-shell-view-actions.h
@@ -243,10 +243,8 @@
E_SHELL_WINDOW_ACTION ((window), "mail-search-sender-contains")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_SUBJECT_CONTAINS(window) \
E_SHELL_WINDOW_ACTION ((window), "mail-search-subject-contains")
-#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_SUBJECT_OR_RECIPIENTS_CONTAINS(window) \
- E_SHELL_WINDOW_ACTION ((window), "mail-search-subject-or-recipients-contains")
-#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_SUBJECT_OR_SENDER_CONTAINS(window) \
- E_SHELL_WINDOW_ACTION ((window), "mail-search-subject-or-sender-contains")
+#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_SUBJECT_OR_ADDRESSES_CONTAIN(window) \
+ E_SHELL_WINDOW_ACTION ((window), "mail-search-subject-or-addresses-contain")
/* Action Groups */
#define E_SHELL_WINDOW_ACTION_GROUP_MAIL(window) \
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c
index 493d761432..4a96dc0b91 100644
--- a/modules/mail/e-mail-shell-view.c
+++ b/modules/mail/e-mail-shell-view.c
@@ -163,7 +163,7 @@ mail_shell_view_execute_search (EShellView *shell_view)
/* Replace variables in the selected rule with the
* current search text and extract a query string. */
- action = ACTION (MAIL_SEARCH_SUBJECT_OR_SENDER_CONTAINS);
+ action = ACTION (MAIL_SEARCH_SUBJECT_OR_ADDRESSES_CONTAIN);
value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (action));
g_return_if_fail (value >= 0 && value < MAIL_NUM_SEARCH_RULES);
rule = priv->search_rules[value];