Change-Id: I338bd598c516d25fc8810c38f5bdeb67d4beb647
static void _remove_items(Widget_Data * wd);
static const char SIG_DISMISSED[] = "dismissed";
static void _remove_items(Widget_Data * wd);
static const char SIG_DISMISSED[] = "dismissed";
-static const char SIG_HIDE[] = "hide";
static const Evas_Smart_Cb_Description _signals[] = {
{SIG_DISMISSED, ""},
static const Evas_Smart_Cb_Description _signals[] = {
{SIG_DISMISSED, ""},
- {SIG_HIDE, ""}, //TOOD: Remove!!
_scroller_size_reset(wd);
evas_object_smart_callback_call(obj, SIG_DISMISSED, NULL);
_scroller_size_reset(wd);
evas_object_smart_callback_call(obj, SIG_DISMISSED, NULL);
- evas_object_smart_callback_call(obj, SIG_HIDE, NULL); //TODO: Remove!
wd->visible = EINA_FALSE;
}
wd->visible = EINA_FALSE;
}
-static void _ctxpopup_hide_cb(void *data, Evas_Object *obj, void *event_info)
+static void _ctxpopup_dismissed_cb(void *data, Evas_Object *obj, void *event_info)
{
Evas_Object *ctxpopup = obj;
{
Evas_Object *ctxpopup = obj;
if(!wd) return;
ctxpopup = elm_ctxpopup_add(wd->parent);
if(!wd) return;
ctxpopup = elm_ctxpopup_add(wd->parent);
- evas_object_smart_callback_add( ctxpopup, "hide", _ctxpopup_hide_cb, wd);
+ evas_object_smart_callback_add( ctxpopup, "dismissed", _ctxpopup_dismissed_cb, wd);
EINA_LIST_FOREACH(wd->items, l, item)
{
EINA_LIST_FOREACH(wd->items, l, item)
{