Merge "TizenRefApp-5846 Integrate BasicInfoItem to Logs/Details/DetailsView" into...
authorAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Thu, 3 Mar 2016 09:13:08 +0000 (01:13 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 3 Mar 2016 09:13:09 +0000 (01:13 -0800)
1  2 
lib-contact/src/Contacts/Details/ActionFieldItem.cpp
lib-contact/src/Contacts/Details/DetailsView.cpp

@@@ -68,9 -70,31 +68,9 @@@ DetailsView::DetailsView(int recordId, 
  {
  }
  
 -void DetailsView::setSelectCallback(SelectCallback callback)
 -{
 -      m_OnSelected = std::move(callback);
 -}
 -
 -void DetailsView::setSelectMode(SelectMode mode)
 -{
 -      m_SelectMode = mode;
 -
 -      if (m_BasicInfoItem) {
 -              m_BasicInfoItem->setSelectMode(mode);
 -
 -              auto item = m_BasicInfoItem->getNextItem();
 -              for (; item; item = item->getNextItem()) {
 -                      FieldItem *fieldItem = static_cast<FieldItem *>(item);
 -                      fieldItem->setSelectMode(mode);
 -              }
 -      }
 -
 -      updatePageMode();
 -}
 -
  Evas_Object *DetailsView::onCreate(Evas_Object *parent)
  {
-       elm_theme_extension_add(nullptr, App::getResourcePath(DETAILS_ITEM_LAYOUT_EDJ).c_str());
+       elm_theme_extension_add(nullptr, App::getResourcePath(CONTACTS_DETAILS_ITEM_LAYOUT_EDJ).c_str());
  
        m_Genlist = new Ui::Genlist();
        m_Genlist->create(parent);