elementary: add missing selected in elm_index, when we use elm_index_item_selected_set

SVN revision: 79186
This commit is contained in:
Michael BOUCHAUD 2012-11-12 17:56:13 +00:00
parent 5e1126935a
commit 17d5be23ff
3 changed files with 6 additions and 0 deletions

View File

@ -674,3 +674,7 @@
* Add elm_toolbar_item_show/bring_in.
It show or bring a specific item, when the toolbar can be scrolled.
2012-10-25 Michael Bouchaud (yoz)
* Add missing selected event in elm_index (elm_index_item_selected_set)

View File

@ -53,6 +53,7 @@ Fixes:
* Fix glview crash even if the object is failed allocating.
* Fix the elm_flip to accept proxy object.
* Fix wrong parameter for thumbnail error in elm_icon.
* Fix missing selected event in elm_index (elm_index_item_selected_set)
Removals:

View File

@ -989,6 +989,7 @@ elm_index_item_selected_set(Elm_Object_Item *it,
{
evas_object_geometry_get(VIEW(it), &x, &y, &w, &h);
_sel_eval(WIDGET(it), x + (w / 2), y + (h / 2));
evas_object_smart_callback_call(WIDGET(it), SIG_SELECTED, it);
}
else _sel_eval(WIDGET(it), -99999, -9999);
}