aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-browser.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-05 00:03:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-05 01:10:02 +0800
commit5794c63f4ff48ad4abc677954fcd5e9bb578aacc (patch)
tree8fd8dcd8e6060085efa099bedf8ca0b1405f3cdd /mail/e-mail-browser.h
parent046816123764f86f1b258195292abcdb7951fca3 (diff)
downloadgsoc2013-evolution-5794c63f4ff48ad4abc677954fcd5e9bb578aacc.tar.gz
gsoc2013-evolution-5794c63f4ff48ad4abc677954fcd5e9bb578aacc.tar.zst
gsoc2013-evolution-5794c63f4ff48ad4abc677954fcd5e9bb578aacc.zip
EMailBrowser: Add "close-on-reply-policy" property.
Mainly to avoid accessing GSettings directly from EMailBrowser. Also add a "browser-close-on-reply-policy" GSettings key that replaces "prompt-on-reply-close-browser", the difference being the new key uses an enum definition compatible with EAutomaticActionPolicy instead of a free-form string value. And finally add an ESettingsMailBrowser class to glue things together.
Diffstat (limited to 'mail/e-mail-browser.h')
-rw-r--r--mail/e-mail-browser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/e-mail-browser.h b/mail/e-mail-browser.h
index fe7c6bfafd..dce6922be8 100644
--- a/mail/e-mail-browser.h
+++ b/mail/e-mail-browser.h
@@ -66,6 +66,12 @@ GtkWidget * e_mail_browser_new (EMailBackend *backend,
const gchar *message_uid,
EMailFormatterMode display_mode);
void e_mail_browser_close (EMailBrowser *browser);
+EAutomaticActionPolicy
+ e_mail_browser_get_close_on_reply_policy
+ (EMailBrowser *browser);
+void e_mail_browser_set_close_on_reply_policy
+ (EMailBrowser *browser,
+ EAutomaticActionPolicy policy);
EMailFormatterMode
e_mail_browser_get_display_mode (EMailBrowser *browser);
EFocusTracker * e_mail_browser_get_focus_tracker