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 | |
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')
-rw-r--r-- | addressbook/ChangeLog | 9 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-table-model.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 6ea8afeb44..ca2a3f27e5 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,12 @@ +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. + 2004-08-25 Frederic Crozat <fcrozat@mandrakesoft.com> * gui/component/addressbook-view.c: (delete_addressbook_cb): 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); |