summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand <anand.km@samsung.com>2015-07-01 11:31:26 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-07-01 11:31:26 +0900
commitc2747644e041da309da634cb9883e98bb4a2112e (patch)
tree32756433753edb37969f361332b23de8102d582d
parentbba4c217f2ce4f032fca6298cc8b2fc6ff3d7c19 (diff)
test_focus: Focus should to move layout's entry
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
-rw-r--r--src/bin/test_focus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/test_focus.c b/src/bin/test_focus.c
index d7cef0291..2782299e6 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
593 593
594 bt2 = elm_button_add(PARENT); 594 bt2 = elm_button_add(PARENT);
595 elm_object_text_set(bt2, "Give focus to layout 'Entry'"); 595 elm_object_text_set(bt2, "Give focus to layout 'Entry'");
596 evas_object_smart_callback_add(bt2, "clicked", _focus_obj, en); 596 evas_object_smart_callback_add(bt2, "clicked", _focus_obj, en1);
597 evas_object_size_hint_weight_set(bt2, EVAS_HINT_EXPAND, 0.0); 597 evas_object_size_hint_weight_set(bt2, EVAS_HINT_EXPAND, 0.0);
598 evas_object_size_hint_align_set(bt2, EVAS_HINT_FILL, 0.5); 598 evas_object_size_hint_align_set(bt2, EVAS_HINT_FILL, 0.5);
599 elm_box_pack_end(bx, bt2); 599 elm_box_pack_end(bx, bt2);