From 6508b8849c0b4f8f8eae9ab57f1e4bcf4f01d87e Mon Sep 17 00:00:00 2001 From: Shilpa Singh Date: Mon, 13 Nov 2017 20:54:05 +0900 Subject: [PATCH] elc_naviframe.c: Append title, subtitle while reading title and subtitle in naviframe. Summary: read title along with naviframe item title and subtitle along with naviframe subtitle. Test Plan: In accessibility mode, when naviframe title area is focused, The text title and subtitle should be read out along with item's title and subtitle. Reviewers: kimcinoo Reviewed By: kimcinoo Subscribers: cedric, govi, rajeshps, jpeg Differential Revision: https://phab.enlightenment.org/D5463 --- src/lib/elementary/elc_naviframe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c index 97d963e..94e14f8 100644 --- a/src/lib/elementary/elc_naviframe.c +++ b/src/lib/elementary/elc_naviframe.c @@ -430,11 +430,14 @@ _access_info_cb(void *data, Evas_Object *obj EINA_UNUSED) buf = eina_strbuf_new(); eina_strbuf_append(buf, info); + eina_strbuf_append_printf(buf, ", %s", N_("Title")); info = elm_object_part_text_get(layout, SUBTITLE_PART); if (!info) goto end; + if (!strcmp(info, "")) goto end; eina_strbuf_append_printf(buf, ", %s", info); + eina_strbuf_append_printf(buf, ", %s", N_("Subtitle")); end: ret = eina_strbuf_string_steal(buf); -- 2.7.4