From 35139b298329ba21d3b645aa0891863bc7caaf68 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 8 Jan 2001 02:14:23 +0000 Subject: Updated to reflect changes to the mail-config API. 2001-01-07 Jeffrey Stedfast * mail-tools.c (mail_tool_quote_message): Updated to reflect changes to the mail-config API. * mail-display.c (redisplay): Updated to reflect changes to the mail-config API. * mail-callbacks.c (providers_config): Use the new account dialog. * mail-config-druid.c (druid_finish): Load the new storage into the shell. (mail_config_druid_new): Take a shell argument. * mail-format.c (mail_generate_reply): Updated to reflect changes to the mail-config API. * mail-config-druid.c: Fixed this to build. * mail-callbacks.c (check_send_configuration): Updated to reflect changes to the mail-config API. (create_msg_composer): Same. (forward_get_composer): Same. (send_queued_mail): Same. (composer_send_cb): Same. * mail-account-editor.c: Updated to build cleanly. * mail-config-druid.c: Same. * mail-accounts.c: Same. * folder-browser-factory.c (control_activate): Updated for API changes in mail-config. * folder-browser.c (done_message_selected): Updated for API changed in mail-config. (folder_browser_gui_init): Same. (got_folder): Same. * component-factory.c (owner_set_cb): After using the sources list, free it as it is no longer a const GSList as with the older mail-config code. * mail-config.c: Totally rewritten. svn path=/trunk/; revision=7298 --- mail/mail-accounts.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mail/mail-accounts.c') diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index ed10636493..952342cfc1 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -171,7 +171,7 @@ mail_add (GtkButton *button, gpointer data) MailAccountsDialog *dialog = data; MailConfigDruid *druid; - druid = mail_config_druid_new (); + druid = mail_config_druid_new (dialog->shell); gtk_signal_connect (GTK_OBJECT (druid), "destroy", GTK_SIGNAL_FUNC (mail_add_finished), dialog); @@ -389,12 +389,13 @@ construct (MailAccountsDialog *dialog) } MailAccountsDialog * -mail_accounts_dialog_new () +mail_accounts_dialog_new (GNOME_Evolution_Shell shell) { MailAccountsDialog *new; new = (MailAccountsDialog *) gtk_type_new (mail_accounts_dialog_get_type ()); construct (new); + new->shell = shell; return new; } -- cgit v1.2.3