diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-12 23:26:47 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-12 23:26:47 +0800 |
commit | 78bf9d9d708dd255cc0966d64112aba56a4b2544 (patch) | |
tree | 99005ed153514c35d47a86482cad28b024c7ee50 /plugins | |
parent | eb29179da623f9cf4abd663577395a085452ca18 (diff) | |
download | gsoc2013-evolution-78bf9d9d708dd255cc0966d64112aba56a4b2544.tar.gz gsoc2013-evolution-78bf9d9d708dd255cc0966d64112aba56a4b2544.tar.zst gsoc2013-evolution-78bf9d9d708dd255cc0966d64112aba56a4b2544.zip |
Bug 624128 - Folder -> Subscriptions is always enabled
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mail-to-task/mail-to-task.c | 8 | ||||
-rw-r--r-- | plugins/mailing-list-actions/mailing-list-actions.c | 3 |
2 files changed, 3 insertions, 8 deletions
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c index 504dca64a0..b62b10f3db 100644 --- a/plugins/mail-to-task/mail-to-task.c +++ b/plugins/mail-to-task/mail-to-task.c @@ -1100,12 +1100,10 @@ static GtkActionEntry single_selection_entries[] = { static void update_actions_any_cb (EMailReader *reader, + guint32 state, GtkActionGroup *action_group) { gboolean sensitive; - guint32 state; - - state = e_mail_reader_check_state (reader); sensitive = (state & E_MAIL_READER_SELECTION_SINGLE) || @@ -1116,12 +1114,10 @@ update_actions_any_cb (EMailReader *reader, static void update_actions_one_cb (EMailReader *reader, + guint32 state, GtkActionGroup *action_group) { gboolean sensitive; - guint32 state; - - state = e_mail_reader_check_state (reader); sensitive = (state & E_MAIL_READER_SELECTION_SINGLE); diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c index 33101db8cd..ce60275db7 100644 --- a/plugins/mailing-list-actions/mailing-list-actions.c +++ b/plugins/mailing-list-actions/mailing-list-actions.c @@ -335,12 +335,11 @@ static GtkActionEntry mailing_list_entries[] = { static void update_actions_cb (EMailReader *reader, + guint32 state, GtkActionGroup *action_group) { gboolean sensitive; - guint32 state; - state = e_mail_reader_check_state (reader); sensitive = (state & E_MAIL_READER_SELECTION_IS_MAILING_LIST); gtk_action_group_set_sensitive (action_group, sensitive); } |