diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-21 06:33:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-21 07:05:55 +0800 |
commit | 9aa668aa6bf612673ad7e760b06fc62350be041e (patch) | |
tree | 0faa8c08a5452393069fc3fc716b1458ad9cad5a /modules/mail/e-mail-shell-view-actions.h | |
parent | 7333f12087eb0b0271ff272c6643909a7803510b (diff) | |
download | gsoc2013-evolution-9aa668aa6bf612673ad7e760b06fc62350be041e.tar gsoc2013-evolution-9aa668aa6bf612673ad7e760b06fc62350be041e.tar.gz gsoc2013-evolution-9aa668aa6bf612673ad7e760b06fc62350be041e.tar.bz2 gsoc2013-evolution-9aa668aa6bf612673ad7e760b06fc62350be041e.tar.lz gsoc2013-evolution-9aa668aa6bf612673ad7e760b06fc62350be041e.tar.xz gsoc2013-evolution-9aa668aa6bf612673ad7e760b06fc62350be041e.tar.zst gsoc2013-evolution-9aa668aa6bf612673ad7e760b06fc62350be041e.zip |
Bug 650587 - Hide Search Folder actions when Search Folders are disabled
Add an action group for Search Folders to EMailReader. The action
group's visibility is bound to the "mail-enable-search-folders" setting,
so that menu items related to Search Folders are hidden when Search
Folders are disabled in GConf.
Affected menu items are:
Edit -> Search Folders
Message -> Create Rule -> Search Folder from Subject...
Message -> Create Rule -> Search Folder from Sender...
Message -> Create Rule -> Search Folder from Recipients...
Message -> Create Rule -> Search Folder from Mailing List...
Search -> Create Search Folder From Search...
Diffstat (limited to 'modules/mail/e-mail-shell-view-actions.h')
-rw-r--r-- | modules/mail/e-mail-shell-view-actions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.h b/modules/mail/e-mail-shell-view-actions.h index d9b801a9c0..c6ca167e14 100644 --- a/modules/mail/e-mail-shell-view-actions.h +++ b/modules/mail/e-mail-shell-view-actions.h @@ -259,5 +259,7 @@ 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 */ |