aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-sidebar.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-02-07 22:07:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-02-07 22:32:54 +0800
commit5795e22cb7a67056948f81e1faca2dcecb9333de (patch)
tree759b3a7a16b24d26180d667904c0038ffe4f9908 /mail/e-mail-sidebar.h
parent0972cb0671b13783594ba9ad92c604e27e479152 (diff)
downloadgsoc2013-evolution-5795e22cb7a67056948f81e1faca2dcecb9333de.tar
gsoc2013-evolution-5795e22cb7a67056948f81e1faca2dcecb9333de.tar.gz
gsoc2013-evolution-5795e22cb7a67056948f81e1faca2dcecb9333de.tar.bz2
gsoc2013-evolution-5795e22cb7a67056948f81e1faca2dcecb9333de.tar.lz
gsoc2013-evolution-5795e22cb7a67056948f81e1faca2dcecb9333de.tar.xz
gsoc2013-evolution-5795e22cb7a67056948f81e1faca2dcecb9333de.tar.zst
gsoc2013-evolution-5795e22cb7a67056948f81e1faca2dcecb9333de.zip
Bug 418520 - Disable Folder -> Expunge in virtual folders
Expunging from a virtual folder actually expunges one or more real folders, which the user may not be aware of and can lead to unintended message removal. I feel it's safest to just disable Folder -> Expunge for any virtual folder, be it Junk, Trash, or a Search Folder. Note that File -> Empty Trash is still always enabled.
Diffstat (limited to 'mail/e-mail-sidebar.h')
-rw-r--r--mail/e-mail-sidebar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/e-mail-sidebar.h b/mail/e-mail-sidebar.h
index bdde4c1090..922e58c8b8 100644
--- a/mail/e-mail-sidebar.h
+++ b/mail/e-mail-sidebar.h
@@ -58,7 +58,8 @@ enum {
E_MAIL_SIDEBAR_FOLDER_IS_OUTBOX = 1 << 3,
E_MAIL_SIDEBAR_FOLDER_IS_STORE = 1 << 4,
E_MAIL_SIDEBAR_FOLDER_IS_TRASH = 1 << 5,
- E_MAIL_SIDEBAR_STORE_IS_SUBSCRIBABLE = 1 << 6
+ E_MAIL_SIDEBAR_FOLDER_IS_VIRTUAL = 1 << 6,
+ E_MAIL_SIDEBAR_STORE_IS_SUBSCRIBABLE = 1 << 7
};
struct _EMailSidebar {