summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_item.c')
-rw-r--r--src/lib/elementary/efl_ui_item.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_item.c b/src/lib/elementary/efl_ui_item.c
index aad857b..6070bda 100644
--- a/src/lib/elementary/efl_ui_item.c
+++ b/src/lib/elementary/efl_ui_item.c
@@ -19,9 +19,9 @@ static void
19_item_select(Eo *obj, Efl_Ui_Item_Data *pd) 19_item_select(Eo *obj, Efl_Ui_Item_Data *pd)
20{ 20{
21 if (pd->selected && 21 if (pd->selected &&
22 (*(pd->select_mode) != EFL_UI_SELECT_SINGLE_ALWAYS)) 22 (*(pd->select_mode) != EFL_UI_SELECT_MODE_SINGLE_ALWAYS))
23 return; 23 return;
24 if (*(pd->select_mode) == EFL_UI_SELECT_NONE) return; 24 if (*(pd->select_mode) == EFL_UI_SELECT_MODE_NONE) return;
25 25
26 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); 26 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
27 27
@@ -101,9 +101,9 @@ _item_mouse_up(void *data,
101 edje_object_signal_emit(wd->resize_obj, "efl,state,unpressed", "efl"); 101 edje_object_signal_emit(wd->resize_obj, "efl,state,unpressed", "efl");
102 efl_event_callback_call(item, EFL_UI_EVENT_UNPRESSED, NULL); 102 efl_event_callback_call(item, EFL_UI_EVENT_UNPRESSED, NULL);
103 103
104 if ((*(pd->select_mode) != EFL_UI_SELECT_SINGLE_ALWAYS) && (pd->selected)) 104 if ((*(pd->select_mode) != EFL_UI_SELECT_MODE_SINGLE_ALWAYS) && (pd->selected))
105 _item_unselect(item, pd); 105 _item_unselect(item, pd);
106 else if (*(pd->select_mode) != EFL_UI_SELECT_NONE) 106 else if (*(pd->select_mode) != EFL_UI_SELECT_MODE_NONE)
107 _item_select(item, pd); 107 _item_select(item, pd);
108} 108}
109 109