diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-11-25 22:20:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-11-25 22:20:19 +0800 |
commit | 7a086cbcd0592e4c133c5761c65fa291b6d05d04 (patch) | |
tree | 2325d4f2a30b4fe60686096f1247bed88a93344f /mail | |
parent | 643851bf598b4f903af96ef41aae259b886ae1af (diff) | |
download | gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.tar gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.tar.gz gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.tar.bz2 gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.tar.lz gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.tar.xz gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.tar.zst gsoc2013-evolution-7a086cbcd0592e4c133c5761c65fa291b6d05d04.zip |
BugĀ 602799 - "Mark for Follow Up" menu item glitches
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-reader.c | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 847ffd2aa0..f70b32af6a 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -1582,6 +1582,14 @@ static EPopupActionEntry mail_reader_popup_entries[] = { NULL, "mail-delete" }, + { "mail-popup-flag-clear", + NULL, + "mail-flag-clear" }, + + { "mail-popup-flag-completed", + NULL, + "mail-flag-completed" }, + { "mail-popup-flag-for-followup", N_("Mark for Follo_w Up..."), "mail-flag-for-followup" }, @@ -2124,6 +2132,21 @@ mail_reader_update_actions (EMailReader *reader) action = e_mail_reader_get_action (reader, action_name); gtk_action_set_sensitive (action, sensitive); + action_name = "mail-flag-clear"; + sensitive = enable_flag_clear; + action = e_mail_reader_get_action (reader, action_name); + gtk_action_set_sensitive (action, sensitive); + + action_name = "mail-flag-completed"; + sensitive = enable_flag_completed; + action = e_mail_reader_get_action (reader, action_name); + gtk_action_set_sensitive (action, sensitive); + + action_name = "mail-flag-for-followup"; + sensitive = enable_flag_for_followup; + action = e_mail_reader_get_action (reader, action_name); + gtk_action_set_sensitive (action, sensitive); + action_name = "mail-forward"; sensitive = have_an_account && any_messages_selected; action = e_mail_reader_get_action (reader, action_name); @@ -2727,7 +2750,7 @@ e_mail_reader_check_state (EMailReader *reader) can_clear_flags = TRUE; tag = camel_message_info_user_tag ( info, "completed-on"); - if (tag != NULL && *tag != '\0') + if (tag == NULL || *tag == '\0') can_flag_completed = TRUE; } else can_flag_for_followup = TRUE; |