aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-11-29 17:24:23 +0800
committerMilan Crha <mcrha@redhat.com>2010-11-29 17:24:23 +0800
commit4e42a9aee8c5f030afe228d3a2a1796c6a7d4028 (patch)
tree5d9e811446c6f8909b819c747ae408f7e1d210e3
parentc27c9ccd4d7b56db49dcdbb4d090d14156eec6a7 (diff)
downloadgsoc2013-evolution-4e42a9aee8c5f030afe228d3a2a1796c6a7d4028.tar
gsoc2013-evolution-4e42a9aee8c5f030afe228d3a2a1796c6a7d4028.tar.gz
gsoc2013-evolution-4e42a9aee8c5f030afe228d3a2a1796c6a7d4028.tar.bz2
gsoc2013-evolution-4e42a9aee8c5f030afe228d3a2a1796c6a7d4028.tar.lz
gsoc2013-evolution-4e42a9aee8c5f030afe228d3a2a1796c6a7d4028.tar.xz
gsoc2013-evolution-4e42a9aee8c5f030afe228d3a2a1796c6a7d4028.tar.zst
gsoc2013-evolution-4e42a9aee8c5f030afe228d3a2a1796c6a7d4028.zip
Revert certain parts from commit for bug #635738
-rw-r--r--mail/e-mail-reader.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 6a96afdd3d..59cc4069a7 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -3210,7 +3210,7 @@ mail_reader_update_actions (EMailReader *reader,
gtk_action_set_sensitive (action, sensitive);
action_name = "mail-next-important";
- sensitive = single_message_selected && !last_message_selected;
+ sensitive = single_message_selected;
action = e_mail_reader_get_action (reader, action_name);
gtk_action_set_sensitive (action, sensitive);
@@ -3220,7 +3220,7 @@ mail_reader_update_actions (EMailReader *reader,
gtk_action_set_sensitive (action, sensitive);
action_name = "mail-next-unread";
- sensitive = any_messages_selected && !last_message_selected;
+ sensitive = any_messages_selected;
action = e_mail_reader_get_action (reader, action_name);
gtk_action_set_sensitive (action, sensitive);
@@ -3230,12 +3230,12 @@ mail_reader_update_actions (EMailReader *reader,
gtk_action_set_sensitive (action, sensitive);
action_name = "mail-previous-important";
- sensitive = single_message_selected && !first_message_selected;
+ sensitive = single_message_selected;
action = e_mail_reader_get_action (reader, action_name);
gtk_action_set_sensitive (action, sensitive);
action_name = "mail-previous-unread";
- sensitive = any_messages_selected && !first_message_selected;
+ sensitive = any_messages_selected;
action = e_mail_reader_get_action (reader, action_name);
gtk_action_set_sensitive (action, sensitive);