From 1f5dacf042e1c3af1235de48e060faf61993bda8 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Wed, 25 Aug 2004 15:46:45 +0000 Subject: May fix #61833. 2004-08-25 Hans Petter Jansson May fix #61833. * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Get E_CONTACT_NAME_OR_ORG (first found from File As, Full Name, Organization, Email 1) for the "name" field. Hopefully will prevent most cases of blank entries. svn path=/trunk/; revision=27022 --- addressbook/gui/component/select-names/e-select-names-table-model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/select-names/e-select-names-table-model.c b/addressbook/gui/component/select-names/e-select-names-table-model.c index 0072e7d9fd..dd824a6322 100644 --- a/addressbook/gui/component/select-names/e-select-names-table-model.c +++ b/addressbook/gui/component/select-names/e-select-names-table-model.c @@ -121,7 +121,7 @@ fill_in_info (ESelectNamesTableModel *model) EContact *contact = dest ? e_destination_get_contact (dest) : NULL; if (contact) { - model->data[i].name = e_contact_get(contact, E_CONTACT_FILE_AS); + model->data[i].name = e_contact_get(contact, E_CONTACT_NAME_OR_ORG); if (model->data[i].name == 0) model->data[i].name = g_strdup(""); model->data[i].email = e_contact_get(contact, E_CONTACT_EMAIL_1); -- cgit v1.2.3