#else /* MODEST_ABOOK_API < 4 */
/* TODO: figure out how to make the contact chooser modal */
contact_chooser = osso_abook_contact_chooser_new_with_capabilities (NULL,
- _("mcen_me_editor_selectrecipients"),
+ _AB("addr_ti_dia_select_contacts"),
OSSO_ABOOK_CAPS_EMAIL,
OSSO_ABOOK_CONTACT_ORDER_NAME);
/* Enable multiselection */
{
g_return_if_fail (contact);
g_return_if_fail (book);
-
+
if (!contact || !book)
return;
-
+
#if MODEST_ABOOK_API < 4
osso_abook_contact_commit(contact, is_new, book);
#else
if (OSSO_ABOOK_IS_CONTACT (contact)) {
- osso_abook_contact_commit(contact, is_new, book, NULL);
+ osso_abook_contact_commit(OSSO_ABOOK_CONTACT(contact), is_new, book, NULL);
} else {
e_book_commit_contact (book, contact, NULL);
}
/* TODO: figure out how to make the contact chooser modal */
contact_dialog = osso_abook_contact_chooser_new_with_capabilities (NULL,
- _("mcen_me_editor_selectrecipients"),
- OSSO_ABOOK_CAPS_EMAIL,
+ _AB("addr_ti_dia_select_contacts"),
+ OSSO_ABOOK_CAPS_EMAIL,
OSSO_ABOOK_CONTACT_ORDER_NAME);
-
osso_abook_contact_chooser_set_model (OSSO_ABOOK_CONTACT_CHOOSER (contact_dialog),
contact_model);