diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2001-01-13 05:15:36 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-13 05:15:36 +0800 |
commit | 7b02bff8210ca98f1d3ff0720091b512602571e8 (patch) | |
tree | b8d018aed6389006e17678e6ff8929ba1c012992 /mail/mail-config.h | |
parent | 8ad2b343a02b954f2393e08deece19861352329e (diff) | |
download | gsoc2013-evolution-7b02bff8210ca98f1d3ff0720091b512602571e8.tar gsoc2013-evolution-7b02bff8210ca98f1d3ff0720091b512602571e8.tar.gz gsoc2013-evolution-7b02bff8210ca98f1d3ff0720091b512602571e8.tar.bz2 gsoc2013-evolution-7b02bff8210ca98f1d3ff0720091b512602571e8.tar.lz gsoc2013-evolution-7b02bff8210ca98f1d3ff0720091b512602571e8.tar.xz gsoc2013-evolution-7b02bff8210ca98f1d3ff0720091b512602571e8.tar.zst gsoc2013-evolution-7b02bff8210ca98f1d3ff0720091b512602571e8.zip |
Get the account by using the new e_msg_composer_get_preferred_account()
2001-01-12 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (composer_send_cb): Get the account by using
the new e_msg_composer_get_preferred_account() function. Also
check to make sure everything is configured (in case they deleted
their accounts while composing mail?).
* mail-config.c (mail_config_get_account_by_address): New
convenience function.
svn path=/trunk/; revision=7459
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r-- | mail/mail-config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h index cc8e9b7cbe..b8713be1e3 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -95,6 +95,7 @@ void mail_config_set_mark_as_seen_timeout (gint timeout); 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_address (const char *address); const GSList *mail_config_get_accounts (void); void mail_config_add_account (MailConfigAccount *account); void mail_config_set_default_account (const MailConfigAccount *account); |