diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-23 05:40:26 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-23 05:40:26 +0800 |
commit | e939da9df48b7e4992de4df915e7832803f8fa12 (patch) | |
tree | 2baa5274b6b5601a6560bde5d15f0d7faf6d956b /mail/mail-config-druid.c | |
parent | 09515df40565b84e1fdcafce80015b51c0984567 (diff) | |
download | gsoc2013-evolution-e939da9df48b7e4992de4df915e7832803f8fa12.tar.gz gsoc2013-evolution-e939da9df48b7e4992de4df915e7832803f8fa12.tar.zst gsoc2013-evolution-e939da9df48b7e4992de4df915e7832803f8fa12.zip |
Fixed memory corruption bug.
2001-02-22 Jeffrey Stedfast <fejj@ximian.com>
* openpgp-utils.c (openpgp_verify): Fixed memory corruption bug.
* mail-format.c (try_inline_pgp_sig): Check to make sure the
validity isn't NULL.
(handle_multipart_signed): Check for NULL validities.
2001-02-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): Protect against NULL
uri's.
* mail-vtrash.c: Do mutex locking on the global hash table - this
should clear up some segfaults ;-)
* mail-config-druid.c (druid_finish): Set the 'enabled' member of
the source to TRUE if the URL exists else set to FALSE.
(incoming_type_changed): If the provider chosen is "None" then
gray-out the auto-check widgets and the check-settings, otherwise
sensitize them.
* mail-account-editor.c (construct): Added a few more settings.
(apply_changes): Save the new settings.
* mail-config.c (service_copy): Updated.
(config_read): Read in whether or not the account is enabled.
(mail_config_write): Save if the account is enabled or not.
svn path=/trunk/; revision=8349
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r-- | mail/mail-config-druid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index 8b9ae57019..58014c7430 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -217,8 +217,10 @@ druid_finish (GnomeDruidPage *page, gpointer arg1, gpointer user_data) mail_session_remember_password (source->url); } camel_url_free (url); + source->enabled = TRUE; } else { source->url = NULL; + source->enabled = FALSE; } /* construct the transport */ @@ -434,6 +436,10 @@ incoming_type_changed (GtkWidget *widget, gpointer user_data) druid->source_provider = provider; + gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_auto_check), provider ? TRUE : FALSE); + gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_auto_check_min), provider ? TRUE : FALSE); + gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_check_settings), provider ? TRUE : FALSE); + /* hostname */ label = glade_xml_get_widget (druid->gui, "lblSourceHost"); if (provider && provider->url_flags & CAMEL_URL_ALLOW_HOST) { |