{
PopupList &popup = getApp().getPopupManager().getPopupList(PopupList::MoreMenuPopup);
popup.appendItem(msg("IDS_MSG_OPT_DELETE"), POPUPLIST_ITEM_PRESSED_CB(Conversation, onDeleteItemPressed), this);
+ if(m_AddressList && m_AddressList->getLength() == 1)
+ {
+ const std::string adress = m_AddressList->at(0).getAddress();
+ ContactAddressRef contactAddress = getApp().getContactManager().getContactAddress(adress);
+
+ if(contactAddress)
+ {
+ popup.appendItem(*new PopupPersonIdListItem(popup, msg("IDS_MSG_OPT_VIEW_CONTACT_DETAILS_ABB"), contactAddress->getOwnerId(),
+ contactAddress->getOwnerType(), POPUPLIST_ITEM_PRESSED_CB(Conversation, onViewContactDetailsItemPressed), this));
+ }
+ else
+ {
+ popup.appendItem(*new PopupAddressListItem(popup, msg("IDS_MSG_OPT_MAKE_VOICE_CALL"), adress,
+ POPUPLIST_ITEM_PRESSED_CB(Conversation, onMakeVoiceItemPressed), this));
+ popup.appendItem(*new PopupAddressListItem(popup, msg("IDS_MSG_OPT_CREATE_CONTACT_ABB"), adress,
+ POPUPLIST_ITEM_PRESSED_CB(Conversation, onCreateContactItemPressed), this));
+ popup.appendItem(*new PopupAddressListItem(popup, msg("IDS_MSG_OPT_UPDATE_CONTACT"), adress,
+ POPUPLIST_ITEM_PRESSED_CB(Conversation, onUpdateContactItemPressed), this));
+ }
+ }
if(!isHiddenAddress())
popup.appendItem(msg("IDS_MSG_TMBODY_ADD_OR_REMOVE_RECIPIENTS"), POPUPLIST_ITEM_PRESSED_CB(Conversation, onAddRecipientsItemPressed), this);
popup.show();