[evolution] Bug 578176 – "Send message to contact" does not honor "always BCC"



commit 4219464afc72d2b5a166618c66a0aa14a8248a29
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat May 16 17:35:14 2009 -0400

    Bug 578176 â?? "Send message to contact" does not honor "always BCC"
---
 addressbook/gui/widgets/eab-gui-util.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index 168c0bb..49bcde2 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -839,16 +839,18 @@ eab_send_to_contact_and_email_num_list (GList *contact_list)
 	 *     arrays are really the best argument type for passing a list of
 	 *     destinations to the header table. */
 
-	/* Add "To" destinations. */
+	/* Set "To" destinations. */
 	convert.pdata = to_array->pdata;
 	e_composer_header_table_set_destinations_to (
 		table, convert.destinations);
 	g_ptr_array_free (to_array, FALSE);
 	e_destination_freev (convert.destinations);
 
-	/* Add "Bcc" destinations. */
+	/* Add "Bcc" destinations.
+	 * Add destinations instead of setting, so we don't remove
+	 * automatic BCC addresses that have already been added. */
 	convert.pdata = bcc_array->pdata;
-	e_composer_header_table_set_destinations_bcc (
+	e_composer_header_table_add_destinations_bcc (
 		table, convert.destinations);
 	g_ptr_array_free (bcc_array, FALSE);
 	e_destination_freev (convert.destinations);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]