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, ""},
- {SIG_HIDE, ""}, //TOOD: Remove!!
{NULL, 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;
}
ctxpopup = NULL;
}
-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;
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)
{