hermet pushed a commit to branch master.


commit c2747644e041da309da634cb9883e98bb4a2112e
Author: Anand <anand...@samsung.com>
Date:   Wed Jul 1 11:31:26 2015 +0900

    test_focus: Focus should to move layout's entry
    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
 src/bin/test_focus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/test_focus.c b/src/bin/test_focus.c
index d7cef02..2782299 100644
--- a/src/bin/test_focus.c
+++ b/src/bin/test_focus.c
@@ -593,7 +593,7 @@ test_focus2(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_in
    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);


Reply via email to