summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_dayselector.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-05-17 17:14:47 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-05-17 17:50:43 +0100
commit7782c0bcb956263e4b58b9ee5640381fe7b3c4f9 (patch)
tree42845dcc2450ec2815c320379c83c2017fda4f57 /src/lib/elementary/elm_dayselector.c
parentf007380fb948f426d04778965ec4d192fe953cc2 (diff)
eolian: add event_prefix and have classes follow that or eo_prefix by default
Previously events used to use class name as a prefix and ignored eo_prefix when specified. This is no longer the case. Events follow eo_prefix by default now. In order to get around this for classes where this is undesirable, a new field event_prefix was added which takes priority over eo_prefix. If neither is specified, class name is used like previously. @feature
Diffstat (limited to 'src/lib/elementary/elm_dayselector.c')
-rw-r--r--src/lib/elementary/elm_dayselector.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_dayselector.c b/src/lib/elementary/elm_dayselector.c
index b23d29d..f97381a 100644
--- a/src/lib/elementary/elm_dayselector.c
+++ b/src/lib/elementary/elm_dayselector.c
@@ -196,7 +196,7 @@ _item_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
196{ 196{
197 Elm_Dayselector_Item_Data *it = data; 197 Elm_Dayselector_Item_Data *it = data;
198 198
199 eo_event_callback_call(WIDGET(it), ELM_CHECK_EVENT_CHANGED, (void *)it->day); 199 eo_event_callback_call(WIDGET(it), EFL_UI_CHECK_EVENT_CHANGED, (void *)it->day);
200 200
201 return EINA_TRUE; 201 return EINA_TRUE;
202} 202}
@@ -270,7 +270,7 @@ _elm_dayselector_efl_container_content_set(Eo *obj, Elm_Dayselector_Data *sd, co
270 elm_layout_signal_emit(obj, buf, "elm"); 270 elm_layout_signal_emit(obj, buf, "elm");
271 271
272 eo_event_callback_add 272 eo_event_callback_add
273 (VIEW(it), ELM_CHECK_EVENT_CHANGED, _item_clicked_cb, it); 273 (VIEW(it), EFL_UI_CHECK_EVENT_CHANGED, _item_clicked_cb, it);
274 evas_object_event_callback_add 274 evas_object_event_callback_add
275 (VIEW(it), EVAS_CALLBACK_DEL, _item_del_cb, obj); 275 (VIEW(it), EVAS_CALLBACK_DEL, _item_del_cb, obj);
276 276
@@ -318,7 +318,7 @@ _elm_dayselector_efl_container_content_unset(Eo *obj, Elm_Dayselector_Data *sd,
318 if (!content) return NULL; 318 if (!content) return NULL;
319 319
320 sd->items = eina_list_remove(sd->items, it); 320 sd->items = eina_list_remove(sd->items, it);
321 eo_event_callback_del(content, ELM_CHECK_EVENT_CHANGED, _item_clicked_cb, it); 321 eo_event_callback_del(content, EFL_UI_CHECK_EVENT_CHANGED, _item_clicked_cb, it);
322 evas_object_event_callback_del(content, EVAS_CALLBACK_DEL, _item_del_cb); 322 evas_object_event_callback_del(content, EVAS_CALLBACK_DEL, _item_del_cb);
323 323
324 elm_object_signal_callback_del 324 elm_object_signal_callback_del