libaurum: add description(subtext) information. 98/310198/1 accepted/tizen/7.0/unified/20240425.011922
authorHosang Kim <hosang12.kim@samsung.com>
Wed, 24 Apr 2024 05:00:03 +0000 (14:00 +0900)
committerkim hosang <hosang12.kim@samsung.com>
Wed, 24 Apr 2024 05:06:28 +0000 (05:06 +0000)
Change-Id: I8eae2f7f259a03eabebdf6fa755c8db0f697bf21
(cherry picked from commit 9436e77080d8415bd02f590ee3bbbf03a39c70ec)

libaurum/src/Impl/Accessibility/AtspiAccessibleNode.cc

index 1152510..4f11022 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.