aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-11-29 17:28:49 +0800
committerMilan Crha <mcrha@redhat.com>2010-11-29 17:28:49 +0800
commitc2996eea8b32be944478e93e514a833017a85452 (patch)
tree2a32940cb05f9c73daca99e0f16dceb06dbf3ecd
parent97b56f8aaf9497cf978b655bb5230e7b833fe006 (diff)
downloadgsoc2013-evolution-c2996eea8b32be944478e93e514a833017a85452.tar.gz
gsoc2013-evolution-c2996eea8b32be944478e93e514a833017a85452.tar.zst
gsoc2013-evolution-c2996eea8b32be944478e93e514a833017a85452.zip
Revert certain parts from the previous commit
-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 dfb1ddf28c..f3d4ea336f 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -2794,7 +2794,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);
@@ -2804,7 +2804,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);
@@ -2814,12 +2814,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);