aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-15 01:18:03 +0800
committerDan Winship <danw@src.gnome.org>2001-05-15 01:18:03 +0800
commitb9401bbdf43b51b3596498d12ba2d73e2cca1805 (patch)
tree82d72a137b851efbfde70064f9d7fb3e6b81f6e7 /mail/mail-config.h
parentf02973aaf4ee15e818981301e62b10ea1d225a53 (diff)
downloadgsoc2013-evolution-b9401bbdf43b51b3596498d12ba2d73e2cca1805.tar
gsoc2013-evolution-b9401bbdf43b51b3596498d12ba2d73e2cca1805.tar.gz
gsoc2013-evolution-b9401bbdf43b51b3596498d12ba2d73e2cca1805.tar.bz2
gsoc2013-evolution-b9401bbdf43b51b3596498d12ba2d73e2cca1805.tar.lz
gsoc2013-evolution-b9401bbdf43b51b3596498d12ba2d73e2cca1805.tar.xz
gsoc2013-evolution-b9401bbdf43b51b3596498d12ba2d73e2cca1805.tar.zst
gsoc2013-evolution-b9401bbdf43b51b3596498d12ba2d73e2cca1805.zip
Split "Other" page into three pages, Display, Composer, and PGP. Add HTML
* mail-config.glade: Split "Other" page into three pages, Display, Composer, and PGP. Add HTML image stuff on the Display page and default forward style on the Composer page. * mail-config.c (mail_config_get_default_forward_style, mail_config_set_default_forward_style): User-specified default style for forwarding messages. (config_read, mail_config_write_on_exit): Deal with forward style. * mail-accounts.c: Handle HTML image display options and default forward style. * mail-callbacks.c (forward): New. Forward in the user-selected default style. (forward_inline, forward_quoted): Simplify these some. Remove the fallback to forward attached when forwarding multiple messages: it should just forward the multiple messages inline or quoted in those cases. (Which it doesn't yet, but that's a bug.) * folder-browser.c (context_menu): Remove "Forward inline" and make "Forward" call forward() rather than forward_attached(). * folder-browser-factory.c: Update command/menu/toolbar/pixmap gunk for the "MessageForwardAttached" vs "MessageForward" split. * mail-session.c (mail_session_get_type): * mail-format.c (format_mime_part): * mail-account-gui.c (setup_service): Fix warnings. svn path=/trunk/; revision=9792
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 31e31ddb2f..46b6e17035 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -64,6 +64,11 @@ typedef enum {
MAIL_CONFIG_HTTP_ALWAYS,
} MailConfigHTTPMode;
+typedef enum {
+ MAIL_CONFIG_FORWARD_ATTACHED, MAIL_CONFIG_FORWARD_INLINE,
+ MAIL_CONFIG_FORWARD_QUOTED,
+} MailConfigForwardStyle;
+
/* Identities */
MailConfigIdentity *identity_copy (const MailConfigIdentity *id);
void identity_destroy (MailConfigIdentity *id);
@@ -123,6 +128,9 @@ void mail_config_set_pgp_path (const char *pgp_path);
MailConfigHTTPMode mail_config_get_http_mode (void);
void mail_config_set_http_mode (MailConfigHTTPMode);
+MailConfigForwardStyle mail_config_get_default_forward_style (void);
+void mail_config_set_default_forward_style (MailConfigForwardStyle);
+
const MailConfigAccount *mail_config_get_default_account (void);
const MailConfigAccount *mail_config_get_account_by_name (const char *account_name);
const MailConfigAccount *mail_config_get_account_by_source_url (const char *url);