From d00c445e8ed4ec4e11f2bfa6025cf812ebceae33 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 5 Oct 2010 08:39:36 -0400 Subject: Bug 588851 - Don't show unsubscribe option for local folders --- modules/mail/e-mail-shell-view.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index 817b2db79d..d7f77de215 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -988,7 +988,9 @@ mail_shell_view_update_actions (EShellView *shell_view) gtk_action_set_sensitive (action, sensitive); action = ACTION (MAIL_FOLDER_UNSUBSCRIBE); - sensitive = !folder_is_store && folder_can_be_deleted; + sensitive = + store_supports_subscriptions && + !folder_is_store && folder_can_be_deleted; gtk_action_set_sensitive (action, sensitive); action = ACTION (MAIL_FOLDER_MARK_ALL_AS_READ); -- cgit