[evolution-data-server/gnome-2-28] 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/gnome-2-28] Bug #602723 - Contact list name doesn't get displayed in 'To' dialog
- Date: Fri, 26 Feb 2010 13:46:22 +0000 (UTC)
commit cd69ed2e33965887f74422996a016fd71c8f806b
Author: Milan Crha <mcrha redhat com>
Date: Fri Feb 26 14:45:42 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 d9ba49f..9c04ee2 100644
--- a/libedataserverui/e-name-selector-dialog.c
+++ b/libedataserverui/e-name-selector-dialog.c
@@ -1159,6 +1159,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]