aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-05 20:39:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-05 20:39:36 +0800
commitd00c445e8ed4ec4e11f2bfa6025cf812ebceae33 (patch)
treece8f83a6659e9665a1542779af9b6e5a6ddf90ae /modules/mail
parent37b67ed07a834ac280d66f3a4e84ec61e01a8c02 (diff)
downloadgsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.tar
gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.tar.gz
gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.tar.bz2
gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.tar.lz
gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.tar.xz
gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.tar.zst
gsoc2013-evolution-d00c445e8ed4ec4e11f2bfa6025cf812ebceae33.zip
Bug 588851 - Don't show unsubscribe option for local folders
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-view.c4
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);