aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-10 06:19:04 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-10 06:19:04 +0800
commitce31e66ee69196c0bd641c72097426ba99f2d7d0 (patch)
tree01f299b483a307e9da6943f84ffbd209b710a18f /mail/mail-config.c
parent13263cdb400a2cda1b57f96490a43aa53709dbbd (diff)
downloadgsoc2013-evolution-ce31e66ee69196c0bd641c72097426ba99f2d7d0.tar.gz
gsoc2013-evolution-ce31e66ee69196c0bd641c72097426ba99f2d7d0.tar.zst
gsoc2013-evolution-ce31e66ee69196c0bd641c72097426ba99f2d7d0.zip
Get the from address set in the composer, if that fails ONLY THEN get the
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (composer_send_cb): Get the from address set in the composer, if that fails ONLY THEN get the default from mail config * mail-config.c (mail_config_get_identities): New convenience function for getting a list of the configured identities svn path=/trunk/; revision=4672
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index fa131121bf..b3f8b6ea04 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -391,6 +391,12 @@ mail_config_get_default_identity ()
return (MailConfigIdentity *)config->ids->data;
}
+GSList *
+mail_config_get_identities ()
+{
+ return config->ids;
+}
+
MailConfigService *
mail_config_get_default_source ()
{
@@ -441,3 +447,5 @@ mail_config_fetch (void)
{
return config;
}
+
+