projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4d3b0f6
)
Me card contact is normally a OssoABookContact and not a EContact
author
Sergio Villar Senín
<svillar@igalia.com>
Fri, 15 May 2009 16:20:56 +0000
(18:20 +0200)
committer
Sergio Villar Senín
<svillar@igalia.com>
Fri, 15 May 2009 16:22:25 +0000
(18:22 +0200)
src/hildon2/modest-address-book.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-address-book.c
b/src/hildon2/modest-address-book.c
index
6234b84
..
b26a597
100644
(file)
--- a/
src/hildon2/modest-address-book.c
+++ b/
src/hildon2/modest-address-book.c
@@
-1360,7
+1360,10
@@
modest_address_book_get_my_name ()
because that method fallbacks to another fields if the name
is not defined */
if (self_contact)
- return e_contact_get ((EContact *) self_contact, E_CONTACT_NAME);
+ 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);
else
return NULL;
}