aboutsummaryrefslogtreecommitdiff
path: root/h-client/hclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'h-client/hclient.py')
-rw-r--r--h-client/hclient.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/h-client/hclient.py b/h-client/hclient.py
index 1dc6135..ab15ce2 100644
--- a/h-client/hclient.py
+++ b/h-client/hclient.py
@@ -679,11 +679,15 @@ class hclient:
self.treestore = gtk.TreeStore(str,str,int,gtk.gdk.Pixbuf,int)
pci = self.treestore.append(None, ["Your PCI Devices","",800,gtk.gdk.pixbuf_new_from_file('img/title_png.png'),4])
+ usb = self.treestore.append(None, ["Your USB Devices","",800,gtk.gdk.pixbuf_new_from_file('img/title_png.png'),4])
for key,dev in self.client.devices.iteritems():
if key[0] == 'p':
self.treestore.append(pci, [dev[0].getType(),key,400,gtk.gdk.pixbuf_new_from_file('img/devices/small/'+dev[0].getIcon()),4])
+ if key[0] == 'u':
+ self.treestore.append(usb, [dev[0].getType(),key,400,gtk.gdk.pixbuf_new_from_file('img/devices/small/'+dev[0].getIcon()),4])
+
selection = self.tree.get_selection()
selection.connect('changed', self.setCurrentDevice)