test_naviframe_complex.c: naviframe prev button auto pushed set as false.
authorWoochan Lee <wc0917.lee@samsung.com>
Fri, 24 Apr 2015 07:22:07 +0000 (16:22 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Fri, 24 Apr 2015 07:22:07 +0000 (16:22 +0900)
Summary:
There is a invisible prev button. but it can get a focus and delete the current naviframe item.
Its not intend to added here i think, so i add a function that not add prev button automatically.

Test Plan:
Run elementary_test -> Naviframe Complex
Move focus use arrow key button and input enter key on prev button.
Click the View list, check the ERR msgs.

Reviewers: Jaehyun, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2420

legacy/elementary/src/bin/test_naviframe_complex.c

index 63678bc..63539c7 100644 (file)
@@ -334,6 +334,7 @@ test_naviframe_complex(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, voi
    nf = elm_naviframe_add(win);
    evas_object_size_hint_weight_set(nf, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_size_hint_align_set(nf, EVAS_HINT_FILL, EVAS_HINT_FILL);
+   elm_naviframe_prev_btn_auto_pushed_set(nf, EINA_FALSE);
    elm_box_pack_end(box, nf);
    evas_object_show(nf);