summaryrefslogtreecommitdiff
path: root/client/cd-util.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2012-09-14 12:29:07 +0100
committerRichard Hughes <richard@hughsie.com>2012-09-14 13:04:02 +0100
commit1fda25bb03f58cde0b936dd87d207df77b00c5b2 (patch)
tree838e32f06610979da637539eb56367b2cc044264 /client/cd-util.c
parent5c96bb0a6e4163c96f3782fc42c13b32a43756bb (diff)
downloadcolord-1fda25bb03f58cde0b936dd87d207df77b00c5b2.tar.gz
Add a 'seat' property to each device
This contains the seat description, e.g. 'seat0' which we can use to limit a user on one seats ability to change the settings of another seat.
Diffstat (limited to 'client/cd-util.c')
-rw-r--r--client/cd-util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/cd-util.c b/client/cd-util.c
index 7aa6389..58c07e7 100644
--- a/client/cd-util.c
+++ b/client/cd-util.c
@@ -240,6 +240,10 @@ cd_util_show_device (CdDevice *device)
cd_util_print_field (_("Serial"),
cd_device_get_serial (device));
+ /* TRANSLATORS: the device seat identifier */
+ cd_util_print_field (_("Seat"),
+ cd_device_get_seat (device));
+
tmp = cd_device_get_format (device);
if (tmp != NULL && tmp[0] != '\0') {
/* TRANSLATORS: the device format, e.g.