diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-19 01:02:03 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:19 +0800 |
commit | d009b5b36522a8b4d29e8d199dc7a32159c34edd (patch) | |
tree | ef88272b61ff617e61d858db6aa1693d8f0134e6 /plugins/mailing-list-actions | |
parent | 59b03835d76efaf3697d1fa33967874cc4a86556 (diff) | |
download | gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.tar gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.tar.gz gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.tar.bz2 gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.tar.lz gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.tar.xz gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.tar.zst gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.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); } |