forked from enlightenment/efl
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
This commit is contained in:
parent
4255c34f7a
commit
6508b8849c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue