libaurum: add description(subtext) information. 96/310196/1
authorHosang Kim <hosang12.kim@samsung.com>
Wed, 24 Apr 2024 05:00:03 +0000 (14:00 +0900)
committerHosang Kim <hosang12.kim@samsung.com>
Wed, 24 Apr 2024 05:00:03 +0000 (14:00 +0900)
Change-Id: I8eae2f7f259a03eabebdf6fa755c8db0f697bf21

libaurum/src/Impl/Accessibility/AtspiAccessibleNode.cc

index 1152510c4e4650bc0717480a966cb6f800462274..4f110229f59561387a706e3c45deb6136a959999 100644 (file)
@@ -419,6 +419,13 @@ void AtspiAccessibleNode::refresh(bool updateAll)
             mValue = ni->value;
             mIncrement = ni->increment;
 
+            // TODO: It should be belongs into Atspi_accessible_get_node_info()
+            gchar *description = AtspiWrapper::Atspi_accessible_get_description(mNode, NULL);
+            if (description) {
+                mDescription = description;
+                g_free(description);
+            }
+
             AtspiWrapper::Atspi_accessible_free_node_info(ni);
         } else {
             // TODO: Add Atspi_accessible_get_node_info() for efl.