aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-table-model.c2
-rw-r--r--addressbook/gui/component/select-names/e-select-names.etspec2
2 files changed, 2 insertions, 2 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 aaa6936c8d..4ff3e3c41a 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 ? eab_destination_get_contact (dest) : NULL;
if (contact) {
- model->data[i].name = e_contact_get(contact, E_CONTACT_FULL_NAME);
+ model->data[i].name = e_contact_get(contact, E_CONTACT_FILE_AS);
if (model->data[i].name == 0)
model->data[i].name = g_strdup("");
model->data[i].email = e_contact_get(contact, E_CONTACT_EMAIL_1);
diff --git a/addressbook/gui/component/select-names/e-select-names.etspec b/addressbook/gui/component/select-names/e-select-names.etspec
index 77fae1f765..1da11315f3 100644
--- a/addressbook/gui/component/select-names/e-select-names.etspec
+++ b/addressbook/gui/component/select-names/e-select-names.etspec
@@ -1,5 +1,5 @@
<ETableSpecification no-headers="true" cursor-mode="line">
- <ETableColumn model_col= "3" _title="Name" expansion="1.0" minimum_width="20" resizable="true" cell="string" compare="collate" search="string"/>
+ <ETableColumn model_col= "2" _title="Name" expansion="1.0" minimum_width="20" resizable="true" cell="string" compare="collate" search="string"/>
<ETableState>
<column source="0"/>
<grouping> <leaf column="0" ascending="true"/> </grouping>