Ctxpopup: dismiss ctxpopup after the candidate chosen.

Summary:
Add the elm_ctxpopup_dismiss call inside the
candidate select callback function.
Delete unused function ctxpopup_candidate_selected_cb.

Test Plan:
change  rel1.to param using candidate list.
After select candidate - ctxpopup should be dismissed.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D3043
This commit is contained in:
Mykyta Biliavskyi 2015-09-14 15:25:36 +00:00
parent 778d3c4879
commit 1955c96144
2 changed files with 1 additions and 7 deletions

View File

@ -37,6 +37,7 @@ ctxpopup_it_cb(void *data, Evas_Object *obj, void *event_info)
ctxdata->attr->prepend_str, text, ctxdata->attr->append_str);
ctxdata->changed_cb(ctxdata->data, obj, ctxdata->candidate);
elm_ctxpopup_dismiss(obj);
}
static void

View File

@ -334,13 +334,6 @@ ctxpopup_candidate_dismiss_cb(void *data, Evas_Object *obj,
evas_object_smart_callback_call(ed->enventor, SIG_CTXPOPUP_DISMISSED, NULL);
}
static void
ctxpopup_candidate_selected_cb(void *data, Evas_Object *obj, void *event_info)
{
edit_data *ed = data;
elm_ctxpopup_dismiss(obj);
}
static void
ctxpopup_candidate_changed_cb(void *data, Evas_Object *obj, void *event_info)
{