diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-27 13:23:27 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-27 13:23:27 +0800 |
commit | 6dd8aabeeee1945c4d96af5e045b75995db56517 (patch) | |
tree | da872e79836a7a5237ed5e37cefe71a789f66ca0 /mail/mail-config.h | |
parent | 0b8af6dc0a87c119bf91b7aa62157d627cf573d0 (diff) | |
download | gsoc2013-evolution-6dd8aabeeee1945c4d96af5e045b75995db56517.tar.gz gsoc2013-evolution-6dd8aabeeee1945c4d96af5e045b75995db56517.tar.zst gsoc2013-evolution-6dd8aabeeee1945c4d96af5e045b75995db56517.zip |
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
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r-- | mail/mail-config.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 } |