aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-03-23 17:18:04 +0800
committerChris Toshok <toshok@src.gnome.org>2003-03-23 17:18:04 +0800
commita66943ec821cda5eaef68ea8ecc07d3593dda893 (patch)
treeb3a3ca21cd0256cd06ad3a391f1a9011acf23ddb /addressbook/gui/contact-list-editor
parent04692227019281d5ad6391f8693a437a438ae39d (diff)
downloadgsoc2013-evolution-a66943ec821cda5eaef68ea8ecc07d3593dda893.tar.gz
gsoc2013-evolution-a66943ec821cda5eaef68ea8ecc07d3593dda893.tar.zst
gsoc2013-evolution-a66943ec821cda5eaef68ea8ecc07d3593dda893.zip
[ fixes bug #32113 ] add include_email arg to e_destination_get_textrep.
2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #32113 ] * backend/ebook/e-destination.h: add include_email arg to e_destination_get_textrep. * backend/ebook/e-destination.c (e_destination_get_textrep): add include_email arg. if it's TRUE, and if there's an email address to add * gui/contact-list-editor/e-contact-list-model.c (contact_list_value_at): use e_destination_get_textrep so we don't display QP text, and pass TRUE for include_email. * gui/widgets/e-minicard.c (add_field): same. (remodel): same. * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): same. * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): same. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): pass FALSE for include_email. * gui/component/select-names/e-select-names-model.c (e_select_names_model_get_textification): pass FALSE for include_email. (e_select_names_model_get_string): same. (e_select_names_model_replace): same. (e_select_names_model_name_pos): same. (e_select_names_model_text_pos): same. svn path=/trunk/; revision=20467
Diffstat (limited to 'addressbook/gui/contact-list-editor')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.c b/addressbook/gui/contact-list-editor/e-contact-list-model.c
index 971b1a58e2..6e8357d93c 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-model.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-model.c
@@ -30,7 +30,7 @@ contact_list_value_at (ETableModel *etc, int col, int row)
{
EContactListModel *model = E_CONTACT_LIST_MODEL (etc);
- return (void *) e_destination_get_address (model->data[row]);
+ return (void *) e_destination_get_textrep (model->data[row], TRUE);
}
/* This function sets the value at a particular point in our ETableModel. */