aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-01-19 01:02:03 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:19 +0800
commitd009b5b36522a8b4d29e8d199dc7a32159c34edd (patch)
treeef88272b61ff617e61d858db6aa1693d8f0134e6 /plugins
parent59b03835d76efaf3697d1fa33967874cc4a86556 (diff)
downloadgsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.tar.gz
gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.tar.zst
gsoc2013-evolution-d009b5b36522a8b4d29e8d199dc7a32159c34edd.zip
Bug #633788 - Mail plugin's update-actions handler is never called
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mailing-list-actions/mailing-list-actions.c3
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);
}