aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-view-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail/e-mail-shell-view-private.h')
-rw-r--r--modules/mail/e-mail-shell-view-private.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view-private.h b/modules/mail/e-mail-shell-view-private.h
index 806b408772..9f028e0e8a 100644
--- a/modules/mail/e-mail-shell-view-private.h
+++ b/modules/mail/e-mail-shell-view-private.h
@@ -131,6 +131,12 @@ enum {
MAIL_SCOPE_ALL_ACCOUNTS
};
+typedef enum {
+ E_MAIL_SEND_RECEIVE_BOTH,
+ E_MAIL_SEND_RECEIVE_RECEIVE,
+ E_MAIL_SEND_RECEIVE_SEND
+} EMailSendReceiveMode;
+
struct _EMailShellViewPrivate {
/*** Other Stuff ***/
@@ -156,6 +162,9 @@ struct _EMailShellViewPrivate {
GCancellable *search_account_cancel;
guint show_deleted : 1;
+
+ GtkToolItem *send_receive_tool_item;
+ GtkToolItem *send_receive_tool_separator;
};
void e_mail_shell_view_private_init
@@ -186,6 +195,12 @@ void e_mail_shell_view_update_search_filter
(EMailShellView *mail_shell_view);
void e_mail_shell_view_update_sidebar
(EMailShellView *mail_shell_view);
+void e_mail_shell_view_send_receive
+ (EMailShellView *mail_shell_view,
+ EMailSendReceiveMode mode,
+ const gchar *account_uid);
+void e_mail_shell_view_update_send_receive_menus
+ (EMailShellView *mail_shell_view);
G_END_DECLS