[evolution-data-server] Bug #602723 - Contact list name doesn't get displayed in 'To' dialog
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #602723 - Contact list name doesn't get displayed in 'To' dialog
- Date: Fri, 26 Feb 2010 13:45:48 +0000 (UTC)
commit 735ab70a5fb83c35716bcbfe3c2ccefb0e68db7d
Author: Milan Crha <mcrha redhat com>
Date: Fri Feb 26 14:44:32 2010 +0100
Bug #602723 - Contact list name doesn't get displayed in 'To' dialog
libedataserverui/e-name-selector-dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libedataserverui/e-name-selector-dialog.c b/libedataserverui/e-name-selector-dialog.c
index ae8aec3..279c18f 100644
--- a/libedataserverui/e-name-selector-dialog.c
+++ b/libedataserverui/e-name-selector-dialog.c
@@ -1172,6 +1172,8 @@ contact_column_formatter (GtkTreeViewColumn *column, GtkCellRenderer *cell, GtkT
full_name_str = e_contact_get (contact, E_CONTACT_FULL_NAME);
if (e_contact_get (contact, E_CONTACT_IS_LIST)) {
+ if (!full_name_str)
+ full_name_str = e_contact_get (contact, E_CONTACT_FILE_AS);
string = g_strdup_printf ("%s", full_name_str ? full_name_str : "?");
} else {
string = g_strdup_printf ("%s%s<%s>", full_name_str ? full_name_str : "",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]