base-cbm: Export the lang property on DBus
Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
committed by
Dan Williams
parent
0bd0cad705
commit
95d65ecd8d
@@ -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>
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user