aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-17 05:35:14 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-17 05:35:14 +0800
commit4219464afc72d2b5a166618c66a0aa14a8248a29 (patch)
treea1f802fa2bb01efa78a1132b73569abb73521ed7
parent152d43ec92989b4a416c1fedf3ec133b48bee6ae (diff)
downloadgsoc2013-evolution-4219464afc72d2b5a166618c66a0aa14a8248a29.tar.gz
gsoc2013-evolution-4219464afc72d2b5a166618c66a0aa14a8248a29.tar.zst
gsoc2013-evolution-4219464afc72d2b5a166618c66a0aa14a8248a29.zip
Bug 578176 – "Send message to contact" does not honor "always BCC"
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c8
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 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);