diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-21 02:36:42 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-21 02:40:06 +0800 |
commit | 50a5e067d50806371110f54dce77628cbc548ab1 (patch) | |
tree | 21970dc6d706e4bf742555d67ccb2880062624c8 /mail | |
parent | d057ced4208c21bb2e9a50820092afc7e637279c (diff) | |
download | gsoc2013-evolution-50a5e067d50806371110f54dce77628cbc548ab1.tar gsoc2013-evolution-50a5e067d50806371110f54dce77628cbc548ab1.tar.gz gsoc2013-evolution-50a5e067d50806371110f54dce77628cbc548ab1.tar.bz2 gsoc2013-evolution-50a5e067d50806371110f54dce77628cbc548ab1.tar.lz gsoc2013-evolution-50a5e067d50806371110f54dce77628cbc548ab1.tar.xz gsoc2013-evolution-50a5e067d50806371110f54dce77628cbc548ab1.tar.zst gsoc2013-evolution-50a5e067d50806371110f54dce77628cbc548ab1.zip |
Bug 678393 - Disable Properties for built-in mail stores
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-sidebar.c | 2 | ||||
-rw-r--r-- | mail/e-mail-sidebar.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/e-mail-sidebar.c b/mail/e-mail-sidebar.c index 594dd27830..2831ac0711 100644 --- a/mail/e-mail-sidebar.c +++ b/mail/e-mail-sidebar.c @@ -498,6 +498,8 @@ mail_sidebar_check_state (EMailSidebar *sidebar) state |= E_MAIL_SIDEBAR_FOLDER_IS_TRASH; if (is_virtual) state |= E_MAIL_SIDEBAR_FOLDER_IS_VIRTUAL; + if (store_is_local || store_is_vfolder) + state |= E_MAIL_SIDEBAR_STORE_IS_BUILTIN; if (CAMEL_IS_SUBSCRIBABLE (store)) state |= E_MAIL_SIDEBAR_STORE_IS_SUBSCRIBABLE; diff --git a/mail/e-mail-sidebar.h b/mail/e-mail-sidebar.h index 922e58c8b8..76602c6619 100644 --- a/mail/e-mail-sidebar.h +++ b/mail/e-mail-sidebar.h @@ -59,7 +59,8 @@ enum { E_MAIL_SIDEBAR_FOLDER_IS_STORE = 1 << 4, E_MAIL_SIDEBAR_FOLDER_IS_TRASH = 1 << 5, E_MAIL_SIDEBAR_FOLDER_IS_VIRTUAL = 1 << 6, - E_MAIL_SIDEBAR_STORE_IS_SUBSCRIBABLE = 1 << 7 + E_MAIL_SIDEBAR_STORE_IS_BUILTIN = 1 << 7, + E_MAIL_SIDEBAR_STORE_IS_SUBSCRIBABLE = 1 << 8 }; struct _EMailSidebar { |