aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-view-actions.h
blob: ac682b35635b70964c265b1a94cb5b96016a807b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
/*
 * e-mail-shell-view-actions.h
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) version 3.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with the program; if not, see <http://www.gnu.org/licenses/>
 *
 *
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
 *
 */

#ifndef E_MAIL_SHELL_VIEW_ACTIONS_H
#define E_MAIL_SHELL_VIEW_ACTIONS_H

#include <shell/e-shell-window-actions.h>

/* Mail Actions */
#define E_SHELL_WINDOW_ACTION_MAIL_ACCOUNT_DISABLE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-account-disable")
#define E_SHELL_WINDOW_ACTION_MAIL_ACCOUNT_EXPUNGE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-account-expunge")
#define E_SHELL_WINDOW_ACTION_MAIL_ACCOUNT_PROPERTIES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-account-properties")
#define E_SHELL_WINDOW_ACTION_MAIL_ADD_SENDER(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-add-sender")
#define E_SHELL_WINDOW_ACTION_MAIL_CARET_MODE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-caret-mode")
#define E_SHELL_WINDOW_ACTION_MAIL_CHECK_FOR_JUNK(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-check-for-junk")
#define E_SHELL_WINDOW_ACTION_MAIL_CLIPBOARD_COPY(window) \
    E_SHELL_WINDOw_ACTION ((window), "mail-clipboard-copy")
#define E_SHELL_WINDOW_ACTION_MAIL_COPY(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-copy")
#define E_SHELL_WINDOW_ACTION_MAIL_CREATE_SEARCH_FOLDER(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-create-search-folder")
#define E_SHELL_WINDOW_ACTION_MAIL_DELETE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-delete")
#define E_SHELL_WINDOW_ACTION_MAIL_DOWNLOAD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-download")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_ON_MAILING_LIST(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-on-mailing-list")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_ON_RECIPIENTS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-on-recipients")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_ON_SENDER(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-on-sender")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_ON_SUBJECT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-on-subject")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTERS_APPLY(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filters-apply")
#define E_SHELL_WINDOW_ACTION_MAIL_FIND(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-find")
#define E_SHELL_WINDOW_ACTION_MAIL_FLAG_CLEAR(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-flag-clear")
#define E_SHELL_WINDOW_ACTION_MAIL_FLAG_COMPLETED(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-flag-completed")
#define E_SHELL_WINDOW_ACTION_MAIL_FLAG_FOR_FOLLOWUP(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-flag-for-followup")
#define E_SHELL_WINDOW_ACTION_MAIL_FLUSH_OUTBOX(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-flush-outbox")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_COPY(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-copy")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_DELETE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-delete")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_EXPUNGE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-expunge")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_MARK_ALL_AS_READ(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-mark-all-as-read")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_MOVE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-move")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_NEW(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-new")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_PROPERTIES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-properties")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_REFRESH(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-refresh")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_RENAME(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-rename")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_SELECT_ALL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-select-all")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_SELECT_THREAD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-select-thread")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_SELECT_SUBTHREAD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-select-subthread")
#define E_SHELL_WINDOW_ACTION_MAIL_FOLDER_UNSUBSCRIBE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-folder-unsubscribe")
#define E_SHELL_WINDOW_ACTION_MAIL_FORWARD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-forward")
#define E_SHELL_WINDOW_ACTION_MAIL_FORWARD_ATTACHED(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-forward-attached")
#define E_SHELL_WINDOW_ACTION_MAIL_FORWARD_INLINE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-forward-inline")
#define E_SHELL_WINDOW_ACTION_MAIL_FORWARD_QUOTED(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-forward-quoted")
#define E_SHELL_WINDOW_ACTION_MAIL_LABEL_NEW(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-label-new")
#define E_SHELL_WINDOW_ACTION_MAIL_LABEL_NONE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-label-none")
#define E_SHELL_WINDOW_ACTION_MAIL_LOAD_IMAGES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-load-images")
#define E_SHELL_WINDOW_ACTION_MAIL_MANAGE_SUBSCRIPTIONS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-manage-subscriptions")
#define E_SHELL_WINDOW_ACTION_MAIL_MARK_IMPORTANT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-mark-important")
#define E_SHELL_WINDOW_ACTION_MAIL_MARK_JUNK(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-mark-junk")
#define E_SHELL_WINDOW_ACTION_MAIL_MARK_NOTJUNK(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-mark-notjunk")
#define E_SHELL_WINDOW_ACTION_MAIL_MARK_READ(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-mark-read")
#define E_SHELL_WINDOW_ACTION_MAIL_MARK_UNIMPORTANT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-mark-unimportant")
#define E_SHELL_WINDOW_ACTION_MAIL_MARK_UNREAD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-mark-unread")
#define E_SHELL_WINDOW_ACTION_MAIL_MESSAGE_EDIT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-message-edit")
#define E_SHELL_WINDOW_ACTION_MAIL_MESSAGE_NEW(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-message-new")
#define E_SHELL_WINDOW_ACTION_MAIL_MESSAGE_OPEN(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-message-open")
#define E_SHELL_WINDOW_ACTION_MAIL_MOVE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-move")
#define E_SHELL_WINDOW_ACTION_MAIL_NEXT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-next")
#define E_SHELL_WINDOW_ACTION_MAIL_NEXT_IMPORTANT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-next-important")
#define E_SHELL_WINDOW_ACTION_MAIL_NEXT_THREAD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-next-thread")
#define E_SHELL_WINDOW_ACTION_MAIL_NEXT_UNREAD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-next-unread")
#define E_SHELL_WINDOW_ACTION_MAIL_PREVIEW(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-preview")
#define E_SHELL_WINDOW_ACTION_MAIL_PREVIOUS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-previous")
#define E_SHELL_WINDOW_ACTION_MAIL_PREVIOUS_IMPORTANT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-previous-important")
#define E_SHELL_WINDOW_ACTION_MAIL_PREVIOUS_UNREAD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-previous-unread")
#define E_SHELL_WINDOW_ACTION_MAIL_PRINT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-print")
#define E_SHELL_WINDOW_ACTION_MAIL_PRINT_PREVIEW(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-print-preview")
#define E_SHELL_WINDOW_ACTION_MAIL_REDIRECT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-redirect")
#define E_SHELL_WINDOW_ACTION_MAIL_REPLY_ALL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-reply-all")
#define E_SHELL_WINDOW_ACTION_MAIL_REPLY_LIST(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-reply-list")
#define E_SHELL_WINDOW_ACTION_MAIL_REPLY_SENDER(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-reply-sender")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_ADVANCED_HIDDEN(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-advanced-hidden")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_FOLDER_FROM_MAILING_LIST(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-folder-from-mailing-list")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_FOLDER_FROM_RECIPIENTS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-folder-from-recipients")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_FOLDER_FROM_SENDER(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-folder-from-sender")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_FOLDER_FROM_SUBJECT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-folder-from-subject")
#define E_SHELL_WINDOW_ACTION_MAIL_SELECT_ALL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-select-all")
#define E_SHELL_WINDOW_ACTION_MAIL_SEND_RECEIVE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-send-receive")
#define E_SHELL_WINDOW_ACTION_MAIL_SEND_RECEIVE_RECEIVE_ALL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-send-receive-receive-all")
#define E_SHELL_WINDOW_ACTION_MAIL_SEND_RECEIVE_SEND_ALL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-send-receive-send-all")
#define E_SHELL_WINDOW_ACTION_MAIL_SEND_RECEIVE_SUBMENU(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-send-receive-submenu")
#define E_SHELL_WINDOW_ACTION_MAIL_SHOW_ALL_HEADERS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-show-all-headers")
#define E_SHELL_WINDOW_ACTION_MAIL_SHOW_DELETED(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-show-deleted")
#define E_SHELL_WINDOW_ACTION_MAIL_SHOW_SOURCE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-show-source")
#define E_SHELL_WINDOW_ACTION_MAIL_SMART_BACKWARD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-smart-backward")
#define E_SHELL_WINDOW_ACTION_MAIL_SMART_FORWARD(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-smart-forward")
#define E_SHELL_WINDOW_ACTION_MAIL_STOP(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-stop")
#define E_SHELL_WINDOW_ACTION_MAIL_THREADS_COLLAPSE_ALL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-threads-collapse-all")
#define E_SHELL_WINDOW_ACTION_MAIL_THREADS_EXPAND_ALL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-threads-expand-all")
#define E_SHELL_WINDOW_ACTION_MAIL_THREADS_GROUP_BY(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-threads-group-by")
#define E_SHELL_WINDOW_ACTION_MAIL_TOOLS_FILTERS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-tools-filters")
#define E_SHELL_WINDOW_ACTION_MAIL_TOOLS_SEARCH_FOLDERS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-tools-search-folders")
#define E_SHELL_WINDOW_ACTION_MAIL_TOOLS_SUBSCRIPTIONS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-tools-subscriptions")
#define E_SHELL_WINDOW_ACTION_MAIL_UNDELETE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-undelete")
#define E_SHELL_WINDOW_ACTION_MAIL_VIEW_CLASSIC(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-view-classic")
#define E_SHELL_WINDOW_ACTION_MAIL_VIEW_VERTICAL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-view-vertical")
#define E_SHELL_WINDOW_ACTION_MAIL_ZOOM_100(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-zoom-100")
#define E_SHELL_WINDOW_ACTION_MAIL_ZOOM_IN(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-zoom-in")
#define E_SHELL_WINDOW_ACTION_MAIL_ZOOM_OUT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-zoom-out")

/* Mail Query Actions */
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_ALL_MESSAGES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-all-messages")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_IMPORTANT_MESSAGES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-important-messages")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_LAST_5_DAYS_MESSAGES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-last-5-days-messages")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_MESSAGES_NOT_JUNK(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-messages-not-junk")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_MESSAGES_WITH_ATTACHMENTS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-messages-with-attachments")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_NO_LABEL(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-no-label")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_READ_MESSAGES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-read-messages")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_RECENT_MESSAGES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-recent-messages")
#define E_SHELL_WINDOW_ACTION_MAIL_FILTER_UNREAD_MESSAGES(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-filter-unread-messages")
#define E_SHELL_WINDOW_ACTION_MAIL_SCOPE_ALL_ACCOUNTS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-scope-all-accounts")
#define E_SHELL_WINDOW_ACTION_MAIL_SCOPE_CURRENT_ACCOUNT(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-scope-current-account")
#define E_SHELL_WINDOW_ACTION_MAIL_SCOPE_CURRENT_FOLDER(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-scope-current-folder")
#define E_SHELL_WINDOW_ACTION_MAIL_SCOPE_CURRENT_MESSAGE(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-scope-current-message")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_BODY_CONTAINS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-body-contains")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_MESSAGE_CONTAINS(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-message-contains")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_RECIPIENTS_CONTAIN(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-recipients-contain")
#define E_SHELL_WINDOW_ACTION_MAIL_SEARCH_SENDER_CONTAINS(window) \
    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_ADDRESSES_CONTAIN(window) \
    E_SHELL_WINDOW_ACTION ((window), "mail-search-subject-or-addresses-contain")

/* Action Groups */
#define E_SHELL_WINDOW_ACTION_GROUP_MAIL(window) \
    E_SHELL_WINDOW_ACTION_GROUP ((window), "mail")
#define E_SHELL_WINDOW_ACTION_GROUP_MAIL_FILTER(window) \
    E_SHELL_WINDOW_ACTION_GROUP ((window), "mail-filter")
#define E_SHELL_WINDOW_ACTION_GROUP_MAIL_LABEL(window) \
    E_SHELL_WINDOW_ACTION_GROUP ((window), "mail-label")
#define E_SHELL_WINDOW_ACTION_GROUP_SEARCH_FOLDERS(window) \
    E_SHELL_WINDOW_ACTION_GROUP ((window), "search-folders")

#endif /* E_MAIL_SHELL_VIEW_ACTIONS_H */