diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-19 01:02:03 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-01-19 01:02:03 +0800 |
commit | d6ce64dc1925f5efb9fdfbc503400b7def2e7cfb (patch) | |
tree | d5cc802c7d3bb8b78ed17686587f08b2c06a2631 /plugins/mailing-list-actions | |
parent | d7bfcbbde7eed54d83ab8f6cf384691cba144dd4 (diff) | |
download | gsoc2013-evolution-d6ce64dc1925f5efb9fdfbc503400b7def2e7cfb.tar.gz gsoc2013-evolution-d6ce64dc1925f5efb9fdfbc503400b7def2e7cfb.tar.zst gsoc2013-evolution-d6ce64dc1925f5efb9fdfbc503400b7def2e7cfb.zip |
Bug #633788 - Mail plugin's update-actions handler is never called
Diffstat (limited to 'plugins/mailing-list-actions')
-rw-r--r-- | plugins/mailing-list-actions/mailing-list-actions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c index fd3ae6c0fa..8090c21063 100644 --- a/plugins/mailing-list-actions/mailing-list-actions.c +++ b/plugins/mailing-list-actions/mailing-list-actions.c @@ -348,7 +348,8 @@ update_actions_cb (EMailReader *reader, { gboolean sensitive; - sensitive = (state & E_MAIL_READER_SELECTION_IS_MAILING_LIST); + sensitive = (state & E_MAIL_READER_SELECTION_IS_MAILING_LIST) != 0 + && (state & E_MAIL_READER_SELECTION_SINGLE) != 0; gtk_action_group_set_sensitive (action_group, sensitive); } |