[evolution] Bug 588851 - Don't show unsubscribe option for local folders
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 588851 - Don't show unsubscribe option for local folders
- Date: Tue, 5 Oct 2010 12:40:04 +0000 (UTC)
commit d00c445e8ed4ec4e11f2bfa6025cf812ebceae33
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Oct 5 08:39:36 2010 -0400
Bug 588851 - Don't show unsubscribe option for local folders
modules/mail/e-mail-shell-view.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c
index 817b2db..d7f77de 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]