Revert "Revert "Revert "Revert "elm ctxpopup: fix auto_hide mode to work correctly""""

This reverts commit 95620c6b60.

Revert again, because this obviously fixes a bug...
This commit is contained in:
Hermet Park 2016-06-07 19:50:50 +09:00
parent 95620c6b60
commit b49785c6c4
2 changed files with 3 additions and 1 deletions

View File

@ -50,6 +50,7 @@ _ctxpopup_item_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
{
printf("ctxpopup item selected: %s\n",
elm_object_item_text_get(event_info));
elm_ctxpopup_dismiss(obj);
}
static Elm_Object_Item *

View File

@ -938,7 +938,8 @@ _bg_clicked_cb(void *data,
{
ELM_CTXPOPUP_DATA_GET(data, sd);
_hide_signals_emit(data, sd->dir);
if (sd->auto_hide)
_hide_signals_emit(data, sd->dir);
}
static void