From 462934169af9df210664ea018f678d0f8fbcd238 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 10 Jan 2003 03:55:55 +0000 Subject: enable the account before attempting to saving it. 2003-01-09 Chris Toshok * 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. svn path=/trunk/; revision=19391 --- mail/mail-accounts.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/mail-accounts.c') 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); -- cgit