summaryrefslogtreecommitdiff
path: root/client/cd-util.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-01-05 22:12:51 +0000
committerRichard Hughes <richard@hughsie.com>2013-01-05 22:12:54 +0000
commitb5cab510d7be45f24ab742021293801e040f49a8 (patch)
tree05064b6689e892ffa495f0b4b19af24c3077a059 /client/cd-util.c
parentcd0fa80bfbe30e37e07b8136cafc9022446dce23 (diff)
downloadcolord-b5cab510d7be45f24ab742021293801e040f49a8.tar.gz
Export a Device.Embedded property that is set for fixed hardware
This allows us to detect internal hardware and use different translations in the client UIs.
Diffstat (limited to 'client/cd-util.c')
-rw-r--r--client/cd-util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/cd-util.c b/client/cd-util.c
index 512cefb..c0b4eba 100644
--- a/client/cd-util.c
+++ b/client/cd-util.c
@@ -242,6 +242,11 @@ cd_util_show_device (CdDevice *device)
cd_util_print_field (_("Enabled"),
cd_device_get_enabled (device) ? "Yes" : "No");
+ /* TRANSLATORS: if the device is embedded into the computer and
+ * cannot be removed */
+ cd_util_print_field (_("Embedded"),
+ cd_device_get_embedded (device) ? "Yes" : "No");
+
/* TRANSLATORS: the device model */
cd_util_print_field (_("Model"),
cd_device_get_model (device));