summaryrefslogtreecommitdiff
path: root/src/lib/elm_toolbar.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-02 16:44:19 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-02 16:49:15 +0200
commitb1861986385479221ef9c13ca2d5ff1c0e259f6a (patch)
tree73faa4925ba370816f39f81908c4a3fe7bf04ff1 /src/lib/elm_toolbar.c
parentd1488623ca8cc91da5da95bc0e933f81ba83fc50 (diff)
atspi: properly set parent.
Set proper atspi parents in cases when AT-SPI object tree structure should be different then elementary tree (mostly in cases of elm_widget_items) Add regression tests for those cases.
Diffstat (limited to 'src/lib/elm_toolbar.c')
-rw-r--r--src/lib/elm_toolbar.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 124c2ca61..aa3948183 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -2431,6 +2431,14 @@ _item_new(Evas_Object *obj,
2431 _resizing_eval_item(it); 2431 _resizing_eval_item(it);
2432 if ((!sd->items) && (sd->select_mode == ELM_OBJECT_SELECT_MODE_ALWAYS)) 2432 if ((!sd->items) && (sd->select_mode == ELM_OBJECT_SELECT_MODE_ALWAYS))
2433 _item_select(it); 2433 _item_select(it);
2434
2435 if (_elm_config->atspi_mode)
2436 {
2437 eo_do(icon_obj, elm_interface_atspi_accessible_parent_set(eo_it));
2438 eo_do(VIEW(it), elm_interface_atspi_accessible_parent_set(eo_it));
2439 elm_interface_atspi_accessible_added(eo_it);
2440 }
2441
2434 return it; 2442 return it;
2435} 2443}
2436 2444