// Popup callbacks:
void onPopupDel(Evas_Object *popup, void *eventInfo);
+ void onRecipPopupDel(Evas_Object *popup, void *eventInfo);
void onMsgSendErrorButtonClicked(Popup &popup, int buttonId);
void onMsgSettingsButtonClicked(Popup &popup, int buttonId);
void onNoRecipCancelButtonClicked(Popup &popup, int buttonId);
}
else if(m_Mode == ConversationMode)
{
+ m_pRecipPanel->unselectMbeItem();
ContactViewer::launch(*contactAddress);
}
}
void Conversation::showSavedRecipientPopup(const std::string &title, int contactId, ContactAddress::OwnerType ownerType)
{
PopupList &popup = createPopupList(title);
+ popup.addEventCb(EVAS_CALLBACK_DEL, EVAS_EVENT_CALLBACK(Conversation, onRecipPopupDel), this);
popup.appendItem(msg("IDS_MSGF_OPT_REMOVE"), POPUPLIST_ITEM_PRESSED_CB(Conversation, onRecipRemoveItemPressed), this);
popup.appendItem(msg("IDS_MSG_OPT_EDIT"), POPUPLIST_ITEM_PRESSED_CB(Conversation, onEditItemPressed), this);
popup.appendItem(*new PopupPersonIdListItem(popup, msg("IDS_MSG_OPT_VIEW_CONTACT_DETAILS_ABB"), contactId, ownerType,
void Conversation::showUnsavedRecipientPopup(const std::string &address)
{
PopupList &popup = createPopupList(address);
+ popup.addEventCb(EVAS_CALLBACK_DEL, EVAS_EVENT_CALLBACK(Conversation, onRecipPopupDel), this);
if(m_Mode == NewMessageMode)
{
popup.appendItem(*new PopupAddressListItem(popup, msg("IDS_MSGF_OPT_REMOVE"), address,
m_pBody->setFocus(true);
}
+void Conversation::onRecipPopupDel(Evas_Object *popup, void *eventInfo)
+{
+ MSG_LOG("");
+ if(m_pRecipPanel)
+ m_pRecipPanel->unselectMbeItem();
+}
+
void Conversation::onMsgSendErrorButtonClicked(Popup &popup, int buttonId)
{
MSG_LOG("");
void editSelectedItem();
void removeSelectedItem();
+ void unselectMbeItem();
Evas_Object *getAreaRect() const;
void showMbe(bool show, bool animation = true);
void showEntry(bool show);
void setMbe(MbeRecipientsView *pMbe);
void showButton(ButtonType buttonType);
- void unselectMbeItem();
bool isEntryEmpty() const;
void setEditMode(bool isEdit);
void showInvalidIcon(bool show);