aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2004-01-29 09:27:34 +0800
committerHans Petter <hansp@src.gnome.org>2004-01-29 09:27:34 +0800
commita2f5f6e0f6e930ea17c3f5491c3a7a882ab78250 (patch)
tree07f6ca6db1884a17fec4134e3ff6af05aaf86494 /addressbook/gui/component/select-names
parente2ad337fd383a267e8538acd2e5343b569f2697d (diff)
downloadgsoc2013-evolution-a2f5f6e0f6e930ea17c3f5491c3a7a882ab78250.tar.gz
gsoc2013-evolution-a2f5f6e0f6e930ea17c3f5491c3a7a882ab78250.tar.zst
gsoc2013-evolution-a2f5f6e0f6e930ea17c3f5491c3a7a882ab78250.zip
Get file_as instead of full_name.
2004-01-28 Hans Petter Jansson <hpj@ximian.com> * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Get file_as instead of full_name. * gui/compoent/select-names/e-select-names.etspec: Show the file_as column instead of full_name. svn path=/trunk/; revision=24505
Diffstat (limited to 'addressbook/gui/component/select-names')
-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>