From 5307a77df19527ded02213ab7b354fb9798220fc Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 12 Jan 2001 05:07:00 +0000 Subject: We don't want to be able to set the reply-to in the config druid. 2001-01-12 Jeffrey Stedfast * mail-config-druid.c (construct): We don't want to be able to set the reply-to in the config druid. (druid_finish): Don't set a reply-to anymore. (mail_config_druid_finalise): Don't unref the providers. * mail-config.glade: Took out the Reply-To field in the druid. svn path=/trunk/; revision=7431 --- mail/mail-config-druid.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'mail/mail-config-druid.c') diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index a68f298969..aeb4509f43 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -91,16 +91,6 @@ static void mail_config_druid_finalise (GtkObject *obj) { MailConfigDruid *druid = (MailConfigDruid *) obj; - GList *l; - - l = druid->providers; - while (l) { - CamelProvider *provider = l->data; - - camel_object_unref (CAMEL_OBJECT (provider)); - l = l->next; - } - g_list_free (druid->providers); gtk_object_unref (GTK_OBJECT (druid->gui)); @@ -206,7 +196,6 @@ druid_finish (GnomeDruidPage *page, gpointer arg1, gpointer user_data) id = g_new0 (MailConfigIdentity, 1); id->name = mail_config_druid_get_full_name (druid); id->address = mail_config_druid_get_email_address (druid); - id->reply_to = mail_config_druid_get_reply_to (druid); id->organization = mail_config_druid_get_organization (druid); id->signature = mail_config_druid_get_sigfile (druid); @@ -938,7 +927,6 @@ construct (MailConfigDruid *druid) gtk_signal_connect (GTK_OBJECT (druid->full_name), "changed", identity_changed, druid); druid->email_address = GTK_ENTRY (glade_xml_get_widget (gui, "txtAddress")); gtk_signal_connect (GTK_OBJECT (druid->email_address), "changed", identity_changed, druid); - druid->reply_to = GTK_ENTRY (glade_xml_get_widget (gui, "txtReplyTo")); druid->organization = GTK_ENTRY (glade_xml_get_widget (gui, "txtOrganization")); druid->signature = GNOME_FILE_ENTRY (glade_xml_get_widget (gui, "fileSignature")); @@ -1019,15 +1007,6 @@ mail_config_druid_get_email_address (MailConfigDruid *druid) } -char * -mail_config_druid_get_reply_to (MailConfigDruid *druid) -{ - g_return_val_if_fail (IS_MAIL_CONFIG_DRUID (druid), NULL); - - return g_strdup (gtk_entry_get_text (druid->reply_to)); -} - - char * mail_config_druid_get_organization (MailConfigDruid *druid) { -- cgit