contacts: expose full name as well, for themes that may want to use it.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Fri, 10 Aug 2012 23:43:44 +0000 (20:43 -0300)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Fri, 10 Aug 2012 23:43:44 +0000 (20:43 -0300)
dialer/contacts.c

index b09d12b..783ecea 100644 (file)
@@ -676,6 +676,8 @@ static char *_item_label_get(void *data, Evas_Object *obj __UNUSED__,
                return strdup(c_info->first_name);
        else if (strcmp(part, "last") == 0)
                return strdup(c_info->last_name);
+       else if (strcmp(part, "full") == 0)
+               return strdup(contact_info_full_name_get(c_info));
 
        ERR("Unexpected part name: %s", part);
        return NULL;