From 4157d65284dfe6d8547bd2176cbe48f13f08bc5a Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 27 Jul 2001 15:36:42 +0000 Subject: Figure out whether we're getting the password for the source or the 2001-07-26 Peter Williams * mail-mt.c (do_get_pass): Figure out whether we're getting the password for the source or the transport, and get the toggle button accordingly. (pass_got): Same. * mail-config.c (mail_config_get_account_by_transport_url): New function. Cut + paste + search + replace of _by_source_url. * mail-config.h: Prototype here. svn path=/trunk/; revision=11446 --- mail/mail-config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/mail-config.h') diff --git a/mail/mail-config.h b/mail/mail-config.h index d73e5004c5..a997802c6d 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -168,6 +168,7 @@ 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); const MailConfigAccount *mail_config_get_account_by_source_url (const char *url); +const MailConfigAccount *mail_config_get_account_by_transport_url (const char *url); const GSList *mail_config_get_accounts (void); void mail_config_add_account (MailConfigAccount *account); const GSList *mail_config_remove_account (MailConfigAccount *account); -- cgit v1.2.3