aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-accounts.c4
-rw-r--r--mail/mail-config-druid.c4
3 files changed, 13 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d0e64beb1d..48f589252f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2003-01-09 Chris Toshok <toshok@ximian.com>
+
+ * mail-config-druid.c (wizard_finish_cb): enable the account
+ before attempting to saving it.
+
+ * mail-accounts.c (account_delete_clicked): need to show the
+ buttons added to the dialog.
+
2003-01-10 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (dialogue_response): dont unref the dialogue.
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index 7c8008eb0e..e84b0b50ff 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -221,10 +221,12 @@ account_delete_clicked (GtkButton *button, gpointer user_data)
button = (GtkButton *) gtk_button_new_from_stock (GTK_STOCK_YES);
gtk_button_set_label (button, _("Delete"));
gtk_dialog_add_action_widget ((GtkDialog *) confirm, (GtkWidget *) button, GTK_RESPONSE_YES);
-
+ gtk_widget_show (button);
+
button = (GtkButton *) gtk_button_new_from_stock (GTK_STOCK_NO);
gtk_button_set_label (button, _("Don't delete"));
gtk_dialog_add_action_widget ((GtkDialog *) confirm, (GtkWidget *) button, GTK_RESPONSE_NO);
+ gtk_widget_show (button);
ans = gtk_dialog_run ((GtkDialog *) confirm);
gtk_widget_destroy (confirm);
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index c7e2f498f6..c642bbe8f4 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -944,13 +944,13 @@ wizard_finish_cb (EvolutionWizard *wizard,
{
MailAccountGui *gui = w->gui;
+ gui->account->enabled = TRUE;
+
/* Save the settings for that account */
if (mail_account_gui_save (gui) == FALSE)
/* problem. Um, how to keep the druid alive? */
return;
- gui->account->enabled = TRUE;
-
/* Write out the config info */
mail_config_write ();
mail_account_gui_destroy (gui);