base-cbm: Export the lang property on DBus

Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
Guido Günther
2025-05-23 14:15:14 -05:00
committed by Dan Williams
parent 0bd0cad705
commit 95d65ecd8d
2 changed files with 10 additions and 0 deletions
@@ -65,5 +65,14 @@
--> -->
<property name="Update" type="u" access="read" /> <property name="Update" type="u" access="read" />
<!--
Language:
The language of the CBM as ISO639 two letter code
Since: 1.26
-->
<property name="Language" type="s" access="read" />
</interface> </interface>
</node> </node>
+1
View File
@@ -173,6 +173,7 @@ initialize_cbm (MMBaseCbm *self)
"channel", mm_cbm_part_get_channel (part), "channel", mm_cbm_part_get_channel (part),
"update", CBM_SERIAL_MESSAGE_CODE_UPDATE (serial), "update", CBM_SERIAL_MESSAGE_CODE_UPDATE (serial),
"message-code", CBM_SERIAL_MESSAGE_CODE (serial), "message-code", CBM_SERIAL_MESSAGE_CODE (serial),
"language", mm_cbm_part_get_language (part),
NULL); NULL);
} }