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:
Daniel Juyung Seo 2011-07-07 12:49:39 +00:00
parent ac202371ac
commit bc07b91b0e
3 changed files with 2 additions and 9 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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;