aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-21 10:21:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-21 10:21:12 +0800
commitf21fc37e3c2025f2a6b4ed3a24123d2a7fd5eed4 (patch)
tree3ff576d259a84975fb59178039a0625ac67c73d5 /mail/mail-config.h
parenta7006d79617c55e3cd774ad7589d8d71585dae7d (diff)
downloadgsoc2013-evolution-f21fc37e3c2025f2a6b4ed3a24123d2a7fd5eed4.tar.gz
gsoc2013-evolution-f21fc37e3c2025f2a6b4ed3a24123d2a7fd5eed4.tar.zst
gsoc2013-evolution-f21fc37e3c2025f2a6b4ed3a24123d2a7fd5eed4.zip
Only add the account if it doesn't already exist in the config db.
2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Only add the account if it doesn't already exist in the config db. * mail-config.c (mail_config_find_account): New convenience function. svn path=/trunk/; revision=13039
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index d223ba1eda..10bce30d07 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -177,6 +177,7 @@ void mail_config_set_default_charset (const char *charset);
void mail_config_service_set_save_passwd (MailConfigService *service, gboolean save_passwd);
+gboolean mail_config_find_account (const MailConfigAccount *account);
const MailConfigAccount *mail_config_get_default_account (void);
gint mail_config_get_default_account_num (void);
const MailConfigAccount *mail_config_get_account_by_name (const char *account_name);