aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-01-13 15:27:01 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-13 15:27:01 +0800
commit391b62599222f023593b51c10fc0aec26a535f57 (patch)
treecaeec651bf6af9d2f5c4b7db56b137d32562f082 /mail/mail-config.h
parentd223e02dc78c4d5126bcd16f4bb987aece8b8815 (diff)
downloadgsoc2013-evolution-391b62599222f023593b51c10fc0aec26a535f57.tar.gz
gsoc2013-evolution-391b62599222f023593b51c10fc0aec26a535f57.tar.zst
gsoc2013-evolution-391b62599222f023593b51c10fc0aec26a535f57.zip
Fixed mail_load_storages to make a mini GSList of the account, not the
2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (druid_finish): Fixed mail_load_storages to make a mini GSList of the account, not the account->source. Oops. * mail-accounts.c (news_delete): Updated to use the remove_news() function. * mail-config.c (mail_config_remove_news): New convenience function for removing news accounts. (mail_config_remove_account): Pretty much the same thing. * mail-ops.c (do_send_queue): Get the X-Evolution-Transport URL and use that if it exists, else fall back on the default transport. * mail-callbacks.c (composer_postpone_cb): Set an X-Evolution-Transport header. svn path=/trunk/; revision=7477
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index cc8e9b7cbe..8998893e3b 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -97,6 +97,7 @@ const MailConfigAccount *mail_config_get_default_account (void);
const MailConfigAccount *mail_config_get_account_by_name (const char *account_name);
const GSList *mail_config_get_accounts (void);
void mail_config_add_account (MailConfigAccount *account);
+const GSList *mail_config_remove_account (MailConfigAccount *account);
void mail_config_set_default_account (const MailConfigAccount *account);
const MailConfigIdentity *mail_config_get_default_identity (void);
@@ -105,6 +106,7 @@ const MailConfigService *mail_config_get_default_transport (void);
const MailConfigService *mail_config_get_default_news (void);
const GSList *mail_config_get_news (void);
void mail_config_add_news (MailConfigService *news);
+const GSList *mail_config_remove_news (MailConfigService *news);
/* convenience functions to help ease the transition over to the new codebase */
GSList *mail_config_get_sources (void);