From 4219464afc72d2b5a166618c66a0aa14a8248a29 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 16 May 2009 17:35:14 -0400 Subject: =?UTF-8?q?Bug=20578176=20=E2=80=93=20"Send=20message=20to=20conta?= =?UTF-8?q?ct"=20does=20not=20honor=20"always=20BCC"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addressbook/gui/widgets/eab-gui-util.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index 168c0bb7fa..49bcde21f6 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); -- cgit v1.2.3