aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-28 01:03:48 +0800
committerDan Winship <danw@src.gnome.org>2001-03-28 01:03:48 +0800
commit5bc0caf53b899690a57973a05b4f96cf4c03c5b6 (patch)
treeba21ab2af5ce5e0e71955b0b781ca7c6aca27d77
parent6c227e51270d796efa77a6670de719f17a6bdfef (diff)
downloadgsoc2013-evolution-5bc0caf53b899690a57973a05b4f96cf4c03c5b6.tar.gz
gsoc2013-evolution-5bc0caf53b899690a57973a05b4f96cf4c03c5b6.tar.zst
gsoc2013-evolution-5bc0caf53b899690a57973a05b4f96cf4c03c5b6.zip
set the initial druid button state after doing the mail_account_gui_setup,
* 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. svn path=/trunk/; revision=8980
-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 *