multibuttonentry: delete clicked signal preventing code when mbe shrinked.
authorwoochan lee <wc0917.lee@samsung.com>
Tue, 28 Jul 2015 18:42:48 +0000 (20:42 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Jul 2015 21:58:23 +0000 (23:58 +0200)
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 <cedric@osg.samsung.com>
src/lib/elc_multibuttonentry.c

index 0592eb5..8559607 100644 (file)
@@ -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)