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 /mail/e-mail-reader.h | |
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 'mail/e-mail-reader.h')
-rw-r--r-- | mail/e-mail-reader.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/e-mail-reader.h b/mail/e-mail-reader.h index 53fcd09a26..f85aeec65f 100644 --- a/mail/e-mail-reader.h +++ b/mail/e-mail-reader.h @@ -60,7 +60,7 @@ typedef struct _EMailReader EMailReader; typedef struct _EMailReaderIface EMailReaderIface; enum { - E_MAIL_READER_HAVE_ACCOUNT = 1 << 0, + E_MAIL_READER_HAVE_ENABLED_ACCOUNT = 1 << 0, E_MAIL_READER_SELECTION_SINGLE = 1 << 1, E_MAIL_READER_SELECTION_MULTIPLE = 1 << 2, E_MAIL_READER_SELECTION_CAN_ADD_SENDER = 1 << 3, @@ -102,14 +102,16 @@ struct _EMailReaderIface { /* Signals */ void (*show_search_bar) (EMailReader *reader); - void (*update_actions) (EMailReader *reader); + void (*update_actions) (EMailReader *reader, + guint32 state); }; GType e_mail_reader_get_type (void); void e_mail_reader_init (EMailReader *reader); void e_mail_reader_changed (EMailReader *reader); guint32 e_mail_reader_check_state (EMailReader *reader); -void e_mail_reader_update_actions (EMailReader *reader); +void e_mail_reader_update_actions (EMailReader *reader, + guint32 state); GtkAction * e_mail_reader_get_action (EMailReader *reader, const gchar *action_name); GtkActionGroup * |