# -----------------------------------------------------------------------
def _create_empty_contact(self, friend):
econtact = evolution.ebook.EContact()
- econtact.props.full_name = friend['name']
econtact.props.given_name = friend['first_name']
econtact.props.family_name = friend['last_name']
+ econtact.props.full_name = friend.get_name()
+ return econtact
# -----------------------------------------------------------------------
def _create_contact_wrapper(self, econtact):
- return Contact(self.address_book, econtact)
\ No newline at end of file
+ return Contact(self.address_book, econtact)