From 0ba428b45343c31cbf5da947644ca396cc5cd933 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergio=20Villar=20Sen=C3=ADn?= Date: Tue, 19 May 2009 11:28:26 +0200 Subject: [PATCH] Fixes NB#117618, autocomplete own user name with the proper name from Me Card --- src/hildon2/modest-address-book.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hildon2/modest-address-book.c b/src/hildon2/modest-address-book.c index b26a597..fa6af98 100644 --- a/src/hildon2/modest-address-book.c +++ b/src/hildon2/modest-address-book.c @@ -1360,10 +1360,7 @@ modest_address_book_get_my_name () because that method fallbacks to another fields if the name is not defined */ if (self_contact) - if (OSSO_ABOOK_IS_CONTACT (self_contact)) - return osso_abook_contact_get_name ((OssoABookContact*)self_contact); - else - return e_contact_get ((EContact *) self_contact, E_CONTACT_NAME); + return e_contact_get ((EContact *) self_contact, E_CONTACT_FULL_NAME); else return NULL; } -- 1.7.9.5