elm_ctxpopup: Implemented elm_widget_item_del_pre for elm_ctxpopup_item
authorarosis <jh0506.yun@samsung.com>
Thu, 10 Aug 2017 05:02:06 +0000 (14:02 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 10 Aug 2017 05:42:08 +0000 (14:42 +0900)
commit080c92658890bc3023aa2568c3f4679987a5154f
tree4bc0bd0cfc7054df307b21305059b9f6ae02e0a6
parenta28b89304e51d6f857f90654f2cd40bb2d264196
elm_ctxpopup: Implemented elm_widget_item_del_pre for elm_ctxpopup_item

Summary:
ctxpopup item have elm_list item internally.
But when elm_ctxpopup item was deleted, elm_list item was not deleted.
elm_list item in elm_ctxpopup item should be deleted in del_pre
when elm_ctxpopup item is deleted by elm_wdg_item_del()

Test Plan:
1. launch elementary_test - ctxpopup
2. click Ctxpopup with label only
3. "Never Show" item should not shown in ctxpopup

Reviewers: jpeg, cedric, woohyun

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5044
src/bin/elementary/test_ctxpopup.c
src/lib/elementary/elc_ctxpopup.c
src/lib/elementary/elm_ctxpopup_item.eo