libaurum: find type of attributes with "t" 35/255835/3
authorHosang Kim <hosang12.kim@samsung.com>
Wed, 24 Mar 2021 06:58:11 +0000 (15:58 +0900)
committerHosang Kim <hosang12.kim@samsung.com>
Wed, 24 Mar 2021 07:30:50 +0000 (16:30 +0900)
NUI/dali use keyword "t" instead of "type"

Change-Id: I51986e6aadc9e98d2df48397ea9402a1ce42f3b9

libaurum/src/Impl/Accessibility/AtspiAccessibleNode.cc

index 82b1e616b2e9957d4666b52eaef7d402f9488600..f50650258ed450aca98523cc092cf04df064a501 100644 (file)
@@ -180,6 +180,7 @@ void AtspiAccessibleNode::refresh()
         GHashTable *attributes = AtspiWrapper::Atspi_accessible_get_attributes(mNode, NULL);
         if (attributes) {
             char *t = (char*)g_hash_table_lookup(attributes, "type");
+            if (!t) t = (char*)g_hash_table_lookup(attributes, "t");
             char *s = (char*)g_hash_table_lookup(attributes, "style");
             char *a = (char*)g_hash_table_lookup(attributes, "automationId");