naviframe: Fixing issue with over-generalisation of common code in change: Refactored item_push functionality in naviframe.
This commit is contained in:
parent
c69cfdf4de
commit
bcf8f05e73
|
@ -1493,6 +1493,9 @@ _item_push_helper(Elm_Naviframe_Item *item)
|
|||
_resize_object_reset(obj, item);
|
||||
if (top_item)
|
||||
{
|
||||
elm_widget_tree_unfocusable_set(VIEW(item), EINA_FALSE);
|
||||
elm_widget_tree_unfocusable_set(VIEW(top_item), EINA_TRUE);
|
||||
|
||||
if (sd->freeze_events)
|
||||
{
|
||||
evas_object_freeze_events_set(VIEW(item), EINA_TRUE);
|
||||
|
@ -1503,8 +1506,6 @@ _item_push_helper(Elm_Naviframe_Item *item)
|
|||
edje_object_message_signal_process(elm_layout_edje_get(VIEW(top_item)));
|
||||
edje_object_message_signal_process(elm_layout_edje_get(VIEW(item)));
|
||||
|
||||
elm_widget_tree_unfocusable_set(VIEW(top_item), EINA_TRUE);
|
||||
|
||||
ecore_animator_del(item->animator);
|
||||
item->animator = ecore_animator_add(_push_transition_cb, item);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue