cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=bf56049bba253f6a8f855e0aa3e0bcbf077823b3

commit bf56049bba253f6a8f855e0aa3e0bcbf077823b3
Author: woochan lee <wc0917....@samsung.com>
Date:   Tue Jul 28 20:42:48 2015 +0200

    multibuttonentry: delete clicked signal preventing code when mbe shrinked.
    
    Summary:
    We don't have event block area in mbe.
    Item clicked callback is not called when user clicked the item in mbe 
shrinked state.
    However, item press effect will be shown.
    
    @fix
    
    Test Plan:
    Delete the line always calling expanded set API in MBE clicked callback.
    Execute MBE sample in elementary_test.
    Check the item got a click event but not call the clicked callback.
    
    Reviewers: Hermet, woohyun
    
    Differential Revision: https://phab.enlightenment.org/D2870
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/elc_multibuttonentry.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index 0592eb5..8559607 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -491,9 +491,6 @@ _on_item_clicked(void *data,
    ELM_MULTIBUTTONENTRY_ITEM_DATA_GET(eo_it, it);
    ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(WIDGET(it), sd);
 
-   if (sd->view_state == MULTIBUTTONENTRY_VIEW_SHRINK)
-     return;
-
    _item_select(WIDGET(it), it);
 
    if (sd->selected_it)

-- 


Reply via email to