diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-08-31 03:14:36 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-08-31 03:14:36 +0800 |
commit | 96414281ab7be1080b1db902d6b5a6d83b256cc2 (patch) | |
tree | 0eca295316b7cc473972091158ad6c6a4f75155d /mail | |
parent | 035fbcd84177cf592a48e41ca0ca7689aaaa9d17 (diff) | |
download | gsoc2013-evolution-96414281ab7be1080b1db902d6b5a6d83b256cc2.tar.gz gsoc2013-evolution-96414281ab7be1080b1db902d6b5a6d83b256cc2.tar.zst gsoc2013-evolution-96414281ab7be1080b1db902d6b5a6d83b256cc2.zip |
Bug 628350 - Allow deletion of a deleted message to advance cursor
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-reader.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index f0c91d78f8..f628b657bf 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -2607,8 +2607,12 @@ mail_reader_update_actions (EMailReader *reader, action = e_mail_reader_get_action (reader, action_name); gtk_action_set_sensitive (action, sensitive); + /* If a single message is selected, let the user hit delete to + * advance the cursor even if the message is already deleted. */ action_name = "mail-delete"; - sensitive = selection_has_undeleted_messages; + sensitive = + single_message_selected || + selection_has_undeleted_messages; action = e_mail_reader_get_action (reader, action_name); gtk_action_set_sensitive (action, sensitive); |