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:26:42 +0800
commite763162e4894e140628764446a4742b5b77f0da8 (patch)
treee809c1b1193b4131feda53d10627eecf8d4621aa
parentaecfd675799a40eee4458e94dbf2c856f16eaadf (diff)
downloadgsoc2013-evolution-e763162e4894e140628764446a4742b5b77f0da8.tar
gsoc2013-evolution-e763162e4894e140628764446a4742b5b77f0da8.tar.gz
gsoc2013-evolution-e763162e4894e140628764446a4742b5b77f0da8.tar.bz2
gsoc2013-evolution-e763162e4894e140628764446a4742b5b77f0da8.tar.lz
gsoc2013-evolution-e763162e4894e140628764446a4742b5b77f0da8.tar.xz
gsoc2013-evolution-e763162e4894e140628764446a4742b5b77f0da8.tar.zst
gsoc2013-evolution-e763162e4894e140628764446a4742b5b77f0da8.zip
Bug 588216 - 'Unsubscribe' disabled for newsgroups
Unsubscribable folders are not necessarily deletable. (cherry picked from commit 53937a3dbdc9565d4609391d386d5a28b8dc249b)
-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 42cb277d11..29bb788a47 100644
--- a/modules/mail/e-mail-shell-view.c
+++ b/modules/mail/e-mail-shell-view.c
@@ -993,7 +993,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);