aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-sidebar.c2
-rw-r--r--mail/e-mail-sidebar.h13
2 files changed, 9 insertions, 6 deletions
diff --git a/mail/e-mail-sidebar.c b/mail/e-mail-sidebar.c
index 5ed65f963b..596773423d 100644
--- a/mail/e-mail-sidebar.c
+++ b/mail/e-mail-sidebar.c
@@ -370,6 +370,8 @@ mail_sidebar_check_state (EMailSidebar *sidebar)
state |= E_MAIL_SIDEBAR_FOLDER_IS_STORE;
if (is_trash)
state |= E_MAIL_SIDEBAR_FOLDER_IS_TRASH;
+ if (camel_store_supports_subscriptions (store))
+ state |= E_MAIL_SIDEBAR_STORE_SUPPORTS_SUBSCRIPTIONS;
g_free (full_name);
g_free (uri);
diff --git a/mail/e-mail-sidebar.h b/mail/e-mail-sidebar.h
index f08c05d2fe..b57ff76348 100644
--- a/mail/e-mail-sidebar.h
+++ b/mail/e-mail-sidebar.h
@@ -51,12 +51,13 @@ typedef struct _EMailSidebarPrivate EMailSidebarPrivate;
/* Flags describing the selected folder. */
enum {
- E_MAIL_SIDEBAR_FOLDER_ALLOWS_CHILDREN = 1 << 0,
- E_MAIL_SIDEBAR_FOLDER_CAN_DELETE = 1 << 1,
- E_MAIL_SIDEBAR_FOLDER_IS_JUNK = 1 << 2,
- 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_FOLDER_ALLOWS_CHILDREN = 1 << 0,
+ E_MAIL_SIDEBAR_FOLDER_CAN_DELETE = 1 << 1,
+ E_MAIL_SIDEBAR_FOLDER_IS_JUNK = 1 << 2,
+ 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_SUPPORTS_SUBSCRIPTIONS = 1 << 6
};
struct _EMailSidebar {