Summary:
While going through the test_focus(focus 2-> give focus to layout "entry") code found
focus should move to layout's entry instead of entry outside the layout.
Just change the entry object in callback ;)
Test Plan: elementry_test-->focus2-->give focus to layout "entry".
Reviewers: cedric, Hermet
Differential Revision: https://phab.enlightenment.org/D2611
bt2 = elm_button_add(PARENT);
elm_object_text_set(bt2, "Give focus to layout 'Entry'");
- evas_object_smart_callback_add(bt2, "clicked", _focus_obj, en);
+ evas_object_smart_callback_add(bt2, "clicked", _focus_obj, en1);
evas_object_size_hint_weight_set(bt2, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(bt2, EVAS_HINT_FILL, 0.5);
elm_box_pack_end(bx, bt2);