[evolution/gnome-3-6] Bug 588216 - 'Unsubscribe' disabled for newsgroups



commit e763162e4894e140628764446a4742b5b77f0da8
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Dec 28 13:58:51 2012 -0500

    Bug 588216 - 'Unsubscribe' disabled for newsgroups
    
    Unsubscribable folders are not necessarily deletable.
    
    (cherry picked from commit 53937a3dbdc9565d4609391d386d5a28b8dc249b)

 modules/mail/e-mail-shell-view.c |    2 +-
 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 42cb277..29bb788 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]