aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-29 02:58:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-29 03:25:54 +0800
commit53937a3dbdc9565d4609391d386d5a28b8dc249b (patch)
tree8892dacb6470e0450da48e4671cf27bcc01d585b
parent40f1106675486d68180528183ca92bd4f8430523 (diff)
downloadgsoc2013-evolution-53937a3dbdc9565d4609391d386d5a28b8dc249b.tar
gsoc2013-evolution-53937a3dbdc9565d4609391d386d5a28b8dc249b.tar.gz
gsoc2013-evolution-53937a3dbdc9565d4609391d386d5a28b8dc249b.tar.bz2
gsoc2013-evolution-53937a3dbdc9565d4609391d386d5a28b8dc249b.tar.lz
gsoc2013-evolution-53937a3dbdc9565d4609391d386d5a28b8dc249b.tar.xz
gsoc2013-evolution-53937a3dbdc9565d4609391d386d5a28b8dc249b.tar.zst
gsoc2013-evolution-53937a3dbdc9565d4609391d386d5a28b8dc249b.zip
Bug 588216 - 'Unsubscribe' disabled for newsgroups
Unsubscribable folders are not necessarily deletable.
-rw-r--r--modules/mail/e-mail-shell-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c
index 4631dccecb..548be0bd97 100644
--- a/modules/mail/e-mail-shell-view.c
+++ b/modules/mail/e-mail-shell-view.c
@@ -996,7 +996,7 @@ mail_shell_view_update_actions (EShellView *shell_view)
action = ACTION (MAIL_FOLDER_UNSUBSCRIBE);
sensitive =
store_is_subscribable &&
- !folder_is_store && folder_can_be_deleted;
+ !folder_is_store && !folder_is_virtual;
gtk_action_set_sensitive (action, sensitive);
action = ACTION (MAIL_FOLDER_MARK_ALL_AS_READ);