summaryrefslogtreecommitdiff
path: root/lib-contact/ct-detail/src/CtMyProfileInputView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib-contact/ct-detail/src/CtMyProfileInputView.cpp')
-rwxr-xr-xlib-contact/ct-detail/src/CtMyProfileInputView.cpp17
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)