diff options
author | David Härdeman <david@hardeman.nu> | 2015-08-13 23:31:08 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2015-08-13 23:31:08 +0200 |
commit | 902003b64e17ebd178d39e56a60382b84de7dab0 (patch) | |
tree | 61806e0e631bf5ecddcb8424790e2956109122d5 | |
parent | c58ea4eae74dc8f58c96b802a64f5008f282dfe0 (diff) |
Simplify device string
-rw-r--r-- | rcm-client-hardware-list.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rcm-client-hardware-list.c b/rcm-client-hardware-list.c index cf61d42..068c902 100644 --- a/rcm-client-hardware-list.c +++ b/rcm-client-hardware-list.c @@ -133,10 +133,9 @@ void rcng_client_hardware_list_add(GDBusObject *hw) gtk_widget_set_halign(icon, GTK_ALIGN_START); gtk_box_pack_start(GTK_BOX(box), icon, FALSE, FALSE, 0); - labeltxt = g_strdup_printf("%s: %s (%s)", + labeltxt = g_strdup_printf("%s: %s", rcdevice_get_sys_name(object), - rcdevice_get_description(object), - rcdevice_get_driver_name(object)); + rcdevice_get_description(object)); label = gtk_label_new(labeltxt); g_free(labeltxt); gtk_widget_set_valign(label, GTK_ALIGN_CENTER); |