diff options
author | jk7744.park <jk7744.park@samsung.com> | 2016-02-24 19:06:30 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2016-02-24 19:06:30 +0900 |
commit | f9f1d30fcede384eac0b8e065ccb97ce56efe433 (patch) | |
tree | 5316605e3f9035ed7f02b918f8ee25786f1462f0 /lib-contact/ct-detail/src/CtMyProfileInputView.cpp | |
parent | 2aa01f1ea98ff42e4bfef6da401eb19383f2f4ce (diff) | |
download | phone-contacts-f9f1d30fcede384eac0b8e065ccb97ce56efe433.tar.gz phone-contacts-f9f1d30fcede384eac0b8e065ccb97ce56efe433.tar.bz2 phone-contacts-f9f1d30fcede384eac0b8e065ccb97ce56efe433.zip |
Tizen 2.4.0 rev3 SDK Public Releasetizen_2.4
Diffstat (limited to 'lib-contact/ct-detail/src/CtMyProfileInputView.cpp')
-rwxr-xr-x | lib-contact/ct-detail/src/CtMyProfileInputView.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/lib-contact/ct-detail/src/CtMyProfileInputView.cpp b/lib-contact/ct-detail/src/CtMyProfileInputView.cpp index 9e8cc26..d6cb295 100755 --- a/lib-contact/ct-detail/src/CtMyProfileInputView.cpp +++ b/lib-contact/ct-detail/src/CtMyProfileInputView.cpp @@ -122,7 +122,6 @@ Evas_Object* CtMyProfileInputView::onCreate(Evas_Object* parent, void* viewParam elm_object_part_content_set(base, "elm.swallow.content", genlist); evas_object_smart_callback_add(genlist, "realized", __genlistRealizedCb, this); - evas_object_smart_callback_add(genlist, "unrealized", __genlistUnrealizedCb, this); return base; } @@ -186,16 +185,6 @@ void CtMyProfileInputView:: __genlistRealizedCb(void *data, Evas_Object *obj, vo } } - -void CtMyProfileInputView::__genlistUnrealizedCb(void *data, Evas_Object *obj, void *event_info) -{ - Elm_Object_Item *objectItem = (Elm_Object_Item*) event_info; - CtInputViewGenlistItem *item = (CtInputViewGenlistItem*) elm_object_item_data_get(objectItem); - if (item) { - item->onUnrealized(); - } -} - void CtMyProfileInputView::__save() { int err = CONTACTS_ERROR_NONE; @@ -245,7 +234,7 @@ void CtMyProfileInputView::onPushed(Elm_Object_Item* naviItem) WHIT(); //add title button __saveBtn = elm_button_add(getNaviframe()->getEvasObj()); - elm_object_style_set(__saveBtn, "naviframe/title_right"); + elm_object_style_set(__saveBtn, "naviframe/title_done"); elm_object_text_set(__saveBtn, V_("IDS_TPLATFORM_ACBUTTON_DONE_ABB")); evas_object_smart_callback_add(__saveBtn, "clicked", __saveCb, this); elm_object_item_part_content_set(naviItem, "title_right_btn", __saveBtn); @@ -255,7 +244,7 @@ void CtMyProfileInputView::onPushed(Elm_Object_Item* naviItem) } Evas_Object* cancelButton = elm_button_add(getNaviframe()->getEvasObj()); - elm_object_style_set(cancelButton, "naviframe/title_left"); + elm_object_style_set(cancelButton, "naviframe/title_cancel"); elm_object_text_set(cancelButton, V_("IDS_TPLATFORM_ACBUTTON_CANCEL_ABB")); evas_object_smart_callback_add(cancelButton, "clicked", __cancelCb, this); elm_object_item_part_content_set(naviItem, "title_left_btn", cancelButton); @@ -1062,8 +1051,6 @@ void CtMyProfileInputView::__addAllItems() void CtMyProfileInputView::onDestroy() { WHIT(); - evas_object_smart_callback_del(__genlist, "unrealized", __genlistUnrealizedCb); - evas_object_smart_callback_del(__genlist, "realized", __genlistRealizedCb); } void CtMyProfileInputView::onEvent(int eventType) |