hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=95620c6b60643a2326d73141e64447385c28e6e5

commit 95620c6b60643a2326d73141e64447385c28e6e5
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Tue Jun 7 19:39:00 2016 +0900

    Revert "Revert "Revert "elm ctxpopup: fix auto_hide mode to work 
correctly"""
    
    This reverts commit 0907217be5cf68a377e0ceacf776535acdc38531.
    
    append comment there.
---
 src/bin/elementary/test_ctxpopup.c | 1 -
 src/lib/elementary/elc_ctxpopup.c  | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/elementary/test_ctxpopup.c 
b/src/bin/elementary/test_ctxpopup.c
index fbc9042..27e5376 100644
--- a/src/bin/elementary/test_ctxpopup.c
+++ b/src/bin/elementary/test_ctxpopup.c
@@ -50,7 +50,6 @@ _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 *
diff --git a/src/lib/elementary/elc_ctxpopup.c 
b/src/lib/elementary/elc_ctxpopup.c
index 2cfc15c..3ef52c5 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -938,8 +938,7 @@ _bg_clicked_cb(void *data,
 {
    ELM_CTXPOPUP_DATA_GET(data, sd);
 
-   if (sd->auto_hide)
-     _hide_signals_emit(data, sd->dir);
+   _hide_signals_emit(data, sd->dir);
 }
 
 static void

-- 


Reply via email to