aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-reader.h')
-rw-r--r--mail/e-mail-reader.h8
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 *