diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-05 20:39:36 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-05 20:39:36 +0800 |
commit | d00c445e8ed4ec4e11f2bfa6025cf812ebceae33 (patch) | |
tree | ce8f83a6659e9665a1542779af9b6e5a6ddf90ae /modules/mail/e-mail-shell-view.c | |
parent | 37b67ed07a834ac280d66f3a4e84ec61e01a8c02 (diff) | |
download | gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.tar.gz gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.tar.zst gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.zip |
Bug 588851 - Don't show unsubscribe option for local folders
Diffstat (limited to 'modules/mail/e-mail-shell-view.c')
-rw-r--r-- | 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 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); |