forked from enlightenment/efl
elm genlist: Raise genlist group index when the group's sub item mode
is changed. SVN revision: 63898
This commit is contained in:
parent
6ee9d6642f
commit
de4fb0b5e0
|
@ -1491,6 +1491,8 @@ _mode_finished_signal_cb(void *data,
|
||||||
evas_event_freeze(te);
|
evas_event_freeze(te);
|
||||||
it->nocache = EINA_FALSE;
|
it->nocache = EINA_FALSE;
|
||||||
_mode_item_unrealize(it);
|
_mode_item_unrealize(it);
|
||||||
|
if (it->group_item)
|
||||||
|
evas_object_raise(it->group_item->base.view);
|
||||||
snprintf(buf, sizeof(buf), "elm,state,%s,passive,finished", it->wd->mode_type);
|
snprintf(buf, sizeof(buf), "elm,state,%s,passive,finished", it->wd->mode_type);
|
||||||
edje_object_signal_callback_del_full(obj, buf, "elm", _mode_finished_signal_cb, it);
|
edje_object_signal_callback_del_full(obj, buf, "elm", _mode_finished_signal_cb, it);
|
||||||
evas_event_thaw(te);
|
evas_event_thaw(te);
|
||||||
|
@ -2972,6 +2974,8 @@ _item_mode_set(Elm_Genlist_Item *it)
|
||||||
|
|
||||||
evas_event_freeze(evas_object_evas_get(it->wd->obj));
|
evas_event_freeze(evas_object_evas_get(it->wd->obj));
|
||||||
_mode_item_realize(it);
|
_mode_item_realize(it);
|
||||||
|
if (it->group_item)
|
||||||
|
evas_object_raise(it->group_item->base.view);
|
||||||
_item_position(it, it->mode_view, it->scrl_x, it->scrl_y);
|
_item_position(it, it->mode_view, it->scrl_x, it->scrl_y);
|
||||||
evas_event_thaw(evas_object_evas_get(it->wd->obj));
|
evas_event_thaw(evas_object_evas_get(it->wd->obj));
|
||||||
evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
|
evas_event_thaw_eval(evas_object_evas_get(it->wd->obj));
|
||||||
|
|
Loading…
Reference in New Issue