diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2004-08-25 23:46:45 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2004-08-25 23:46:45 +0800 |
commit | 1f5dacf042e1c3af1235de48e060faf61993bda8 (patch) | |
tree | 98b33c5688d4fbc4bb17c76f8ade02355a976c82 /addressbook/gui | |
parent | 9b7423f6e474c7b8afde3a9ee0e9ebe1eb1c04ea (diff) | |
download | gsoc2013-evolution-1f5dacf042e1c3af1235de48e060faf61993bda8.tar.gz gsoc2013-evolution-1f5dacf042e1c3af1235de48e060faf61993bda8.tar.zst gsoc2013-evolution-1f5dacf042e1c3af1235de48e060faf61993bda8.zip |
May fix #61833.
2004-08-25 Hans Petter Jansson <hpj@ximian.com>
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
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-table-model.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |