diff options
author | Milan Crha <mcrha@redhat.com> | 2010-11-22 19:30:59 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-11-22 19:30:59 +0800 |
commit | b5c8f6f9be84477d3fe201c5cc234256399542a6 (patch) | |
tree | e99c008453743f738fdfaf158c226f540ed36b48 | |
parent | f0f4d68f23d9ee0ec648a1f8a65d590cc1d5a463 (diff) | |
download | gsoc2013-evolution-b5c8f6f9be84477d3fe201c5cc234256399542a6.tar gsoc2013-evolution-b5c8f6f9be84477d3fe201c5cc234256399542a6.tar.gz gsoc2013-evolution-b5c8f6f9be84477d3fe201c5cc234256399542a6.tar.bz2 gsoc2013-evolution-b5c8f6f9be84477d3fe201c5cc234256399542a6.tar.lz gsoc2013-evolution-b5c8f6f9be84477d3fe201c5cc234256399542a6.tar.xz gsoc2013-evolution-b5c8f6f9be84477d3fe201c5cc234256399542a6.tar.zst gsoc2013-evolution-b5c8f6f9be84477d3fe201c5cc234256399542a6.zip |
Bug #633783 - Folder->Expunge enabled when no folder selected
-rw-r--r-- | modules/mail/e-mail-shell-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index 0484a56bbe..ed6343779b 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -971,6 +971,10 @@ mail_shell_view_update_actions (EShellView *shell_view) sensitive = !folder_is_store && folder_can_be_deleted; gtk_action_set_sensitive (action, sensitive); + action = ACTION (MAIL_FOLDER_EXPUNGE); + sensitive = !folder_is_store && uri != NULL; + gtk_action_set_sensitive (action, sensitive); + action = ACTION (MAIL_FOLDER_MOVE); sensitive = !folder_is_store && folder_can_be_deleted; gtk_action_set_sensitive (action, sensitive); |