summaryrefslogtreecommitdiff
path: root/src/lib/elm_toolbar.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-08 12:23:15 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-19 17:26:13 +0200
commitd88cbf20c919aae1122e936819c06b19f99774ee (patch)
tree7f3732fd6ef632c27bc6273762ae2684443c0258 /src/lib/elm_toolbar.c
parent15171f47d7e74afdd1f621d0c22e7375a2c14ab0 (diff)
atspi: clean-up children-changed event emission.
Patch fixes bugs caused by difference between elm widget and atspi objects hierarchy.
Diffstat (limited to 'src/lib/elm_toolbar.c')
-rw-r--r--src/lib/elm_toolbar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 58914b28c..b5096b490 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -2367,6 +2367,9 @@ _item_new(Evas_Object *obj,
2367 if (_elm_config->access_mode == ELM_ACCESS_MODE_ON) 2367 if (_elm_config->access_mode == ELM_ACCESS_MODE_ON)
2368 _access_widget_item_register(it); 2368 _access_widget_item_register(it);
2369 2369
2370 eo_do(icon_obj, elm_interface_atspi_accessible_parent_set(VIEW(it)));
2371 eo_do(VIEW(it), elm_interface_atspi_accessible_parent_set(eo_it));
2372
2370 if (_item_icon_set(icon_obj, "toolbar/", icon)) 2373 if (_item_icon_set(icon_obj, "toolbar/", icon))
2371 { 2374 {
2372 it->icon = icon_obj; 2375 it->icon = icon_obj;
@@ -2434,11 +2437,7 @@ _item_new(Evas_Object *obj,
2434 _item_select(it); 2437 _item_select(it);
2435 2438
2436 if (_elm_config->atspi_mode) 2439 if (_elm_config->atspi_mode)
2437 {
2438 eo_do(icon_obj, elm_interface_atspi_accessible_parent_set(eo_it));
2439 eo_do(VIEW(it), elm_interface_atspi_accessible_parent_set(eo_it));
2440 elm_interface_atspi_accessible_added(eo_it); 2440 elm_interface_atspi_accessible_added(eo_it);
2441 }
2442 2441
2443 return it; 2442 return it;
2444} 2443}