forked from enlightenment/efl
elm genlist/list/gengrid: Removed deprecated signal "clicked". Use
"clicked,double" instead. The name was wrong and I added a proper signals few months ago. Not I removed wrong signals. SVN revision: 61115
This commit is contained in:
parent
ac202371ac
commit
bc07b91b0e
|
@ -472,7 +472,6 @@ _event_hook(Evas_Object *obj,
|
|||
{
|
||||
item = elm_gengrid_selected_item_get(obj);
|
||||
evas_object_smart_callback_call(item->wd->self, SIG_CLICKED_DOUBLE, item);
|
||||
evas_object_smart_callback_call(item->wd->self, "clicked", item); // will be removed
|
||||
}
|
||||
else return EINA_FALSE;
|
||||
|
||||
|
|
|
@ -1418,10 +1418,7 @@ _mouse_down(void *data,
|
|||
_item_highlight(it);
|
||||
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
|
||||
if ((!it->disabled) && (!it->display_only))
|
||||
{
|
||||
evas_object_smart_callback_call(it->base.widget, SIG_CLICKED_DOUBLE, it);
|
||||
evas_object_smart_callback_call(it->base.widget, "clicked", it); // will be removed
|
||||
}
|
||||
evas_object_smart_callback_call(it->base.widget, SIG_CLICKED_DOUBLE, it);
|
||||
if (it->long_timer) ecore_timer_del(it->long_timer);
|
||||
if (it->swipe_timer) ecore_timer_del(it->swipe_timer);
|
||||
it->swipe_timer = ecore_timer_add(0.4, _swipe_cancel, it);
|
||||
|
|
|
@ -931,10 +931,7 @@ _mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void
|
|||
it->swipe_timer = ecore_timer_add(0.4, _swipe_cancel, it);
|
||||
/* Always call the callbacks last - the user may delete our context! */
|
||||
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
|
||||
{
|
||||
evas_object_smart_callback_call(it->base.widget, SIG_CLICKED_DOUBLE, it);
|
||||
evas_object_smart_callback_call(it->base.widget, "clicked", it); // will be removed
|
||||
}
|
||||
evas_object_smart_callback_call(it->base.widget, SIG_CLICKED_DOUBLE, it);
|
||||
wd->swipe = EINA_FALSE;
|
||||
wd->movements = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue