aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-11-29 17:24:23 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:05 +0800
commit18d05dfb42ad734902b11453d13b802927128597 (patch)
tree6db57b392ebb3594b52485e4b6a4d60c3d09887b
parentd31270daea6f69e161a49c7b8ff417932c3bfbac (diff)
downloadgsoc2013-evolution-18d05dfb42ad734902b11453d13b802927128597.tar
gsoc2013-evolution-18d05dfb42ad734902b11453d13b802927128597.tar.gz
gsoc2013-evolution-18d05dfb42ad734902b11453d13b802927128597.tar.bz2
gsoc2013-evolution-18d05dfb42ad734902b11453d13b802927128597.tar.lz
gsoc2013-evolution-18d05dfb42ad734902b11453d13b802927128597.tar.xz
gsoc2013-evolution-18d05dfb42ad734902b11453d13b802927128597.tar.zst
gsoc2013-evolution-18d05dfb42ad734902b11453d13b802927128597.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);