[evolution/wip/gsettings] Revert certain parts from commit for bug #635738
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Revert certain parts from commit for bug #635738
- Date: Wed, 29 Jun 2011 16:47:24 +0000 (UTC)
commit 18d05dfb42ad734902b11453d13b802927128597
Author: Milan Crha <mcrha redhat com>
Date: Mon Nov 29 10:24:23 2010 +0100
Revert certain parts from commit for bug #635738
mail/e-mail-reader.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 6a96afd..59cc406 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]