From 798628fdf8ceb234434d4446ec5fc367fb8e7e1f Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Thu, 20 Jun 2013 13:10:55 +0200 Subject: [PATCH] add the USB id for the receiver in the details panel --- lib/solaar/ui/window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/solaar/ui/window.py b/lib/solaar/ui/window.py index 90f5b869..55c0aa9c 100644 --- a/lib/solaar/ui/window.py +++ b/lib/solaar/ui/window.py @@ -144,7 +144,7 @@ def _create_details_panel(): p = Gtk.Frame() # p.set_border_width(2) p.set_shadow_type(Gtk.ShadowType.ETCHED_OUT) - p.set_size_request(240, 90) + p.set_size_request(240, 0) p._text = Gtk.Label() p._text.set_padding(4, 4) @@ -437,6 +437,7 @@ def _update_details(button): def _details_items(device): if device.kind is None: yield ('Path', device.path) + yield ('USB id', '046d:' + device.product_id) else: # yield ('Codename', device.codename) hid = device.protocol