diff options
author | Chris Toshok <toshok@ximian.com> | 2003-01-10 11:55:55 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-01-10 11:55:55 +0800 |
commit | 462934169af9df210664ea018f678d0f8fbcd238 (patch) | |
tree | 519a5c244dc1d952f3f983064b00ce69682f452d /mail | |
parent | 5b2e91a1c3af08bb02844876fdcd8f367275907c (diff) | |
download | gsoc2013-evolution-462934169af9df210664ea018f678d0f8fbcd238.tar.gz gsoc2013-evolution-462934169af9df210664ea018f678d0f8fbcd238.tar.zst gsoc2013-evolution-462934169af9df210664ea018f678d0f8fbcd238.zip |
enable the account before attempting to saving it.
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.
svn path=/trunk/; revision=19391
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/mail-accounts.c | 4 | ||||
-rw-r--r-- | mail/mail-config-druid.c | 4 |
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); |