From 6dd8aabeeee1945c4d96af5e045b75995db56517 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 27 Mar 2001 05:23:27 +0000 Subject: Probably the very last new config dialog ever. (Ha ha). From Anna, based * mail-config.glade: Probably the very last new config dialog ever. (Ha ha). From Anna, based on a story by me. * mail-account-gui.c: New code for the new mail-config.glade. This abstracts out all of the common code between the account editor and the druid. It also handles the spiffy new provider-specific config stuff. FIXME: The code to check if a service is ok or not is no longer there... waiting until the online/offline stuff from the shell appears. * mail-account-editor.c, mail-config-druid.c: These are much smaller now, since most of the interesting bits moved to mail-account-gui.c * mail-accounts.c: Add an enabled/disabled column/button to replace the checkbox that used to be in the editor, because it really makes more sense to have it out here. This looks ugly. Probably ought to ETable it... (load_accounts): Fill in the enabled column. (mail_select, mail_unselect): toggle the sensitivity and name of the Enable/Disable button appropriately (mail_able): Handle the enable/disable button. * mail-config.c: Remove reply-to from MailConfigIdentity since it didn't belong there (and wasn't being saved anyway). (mail_config_check_service): Simplify this a bit. This really needs to pop up a dialog with a "connecting..." message and a cancel button. svn path=/trunk/; revision=8971 --- mail/mail-config.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mail/mail-config.h') diff --git a/mail/mail-config.h b/mail/mail-config.h index f800e48275..5a293ef9ce 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -34,7 +34,6 @@ extern "C" { typedef struct { gchar *name; gchar *address; - gchar *reply_to; gchar *organization; gchar *signature; } MailConfigIdentity; @@ -44,9 +43,8 @@ typedef struct { gboolean keep_on_server; gboolean auto_check; gint auto_check_time; - gboolean enabled; - gboolean save_passwd; + gboolean enabled; } MailConfigService; typedef struct { @@ -132,7 +130,7 @@ GSList *mail_config_get_sources (void); /* static utility functions */ char *mail_config_folder_to_cachename (CamelFolder *folder, const char *prefix); -gboolean mail_config_check_service (CamelURL *url, CamelProviderType type, gboolean connect, GList **authtypes); +gboolean mail_config_check_service (const char *url, CamelProviderType type, GList **authtypes); #ifdef __cplusplus } -- cgit