atspi: set role for elm_genlist item.
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 30 Sep 2014 14:28:29 +0000 (16:28 +0200)
committerLukasz Stanislawski <lukasz.stanislawski@gmail.com>
Mon, 6 Apr 2015 08:24:56 +0000 (10:24 +0200)
legacy/elementary/src/lib/elm_genlist.c

index 84af800..62351fe 100644 (file)
@@ -5858,6 +5858,7 @@ _elm_genlist_item_eo_base_constructor(Eo *eo_it, Elm_Gen_Item *it)
 {
    eo_do_super(eo_it, ELM_GENLIST_ITEM_CLASS, eo_constructor());
    it->base = eo_data_scope_get(eo_it, ELM_WIDGET_ITEM_CLASS);
+   eo_do(eo_it, elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST_ITEM));
 }
 
 static Elm_Gen_Item *