aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-config-druid.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 90e4fff20d..7304237d0a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,9 @@
2001-03-27 Dan Winship <danw@ximian.com>
+ * mail-config-druid.c (construct): set the initial druid button
+ state after doing the mail_account_gui_setup, since that may
+ invoke signal handlers that will change it.
+
* mail-account-gui.c (mail_account_gui_new): Fill in signature and
organization too.
(mail_account_gui_save): Preserve the "enabled" flag on the source.
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 371769eb81..63207007eb 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -507,9 +507,9 @@ construct (MailConfigDruid *druid)
gtk_signal_connect (GTK_OBJECT (druid->gui->transport.hostname), "changed", transport_changed, druid);
gtk_signal_connect (GTK_OBJECT (druid->gui->transport.username), "changed", transport_changed, druid);
- gnome_druid_set_buttons_sensitive (druid->druid, FALSE, TRUE, TRUE);
-
mail_account_gui_setup (druid->gui, GTK_WIDGET (druid));
+
+ gnome_druid_set_buttons_sensitive (druid->druid, FALSE, TRUE, TRUE);
}
MailConfigDruid *