hal/tools/device-manager Representation.py,1.15,1.16
Kay Sievers
kay at freedesktop.org
Fri Jan 13 08:40:34 PST 2006
Update of /cvs/hal/hal/tools/device-manager
In directory gabe:/tmp/cvs-serv31962/tools/device-manager
Modified Files:
Representation.py
Log Message:
2006-01-13 Kay Sievers <kay.sievers at vrfy.org>
* hald/linux2/classdev.c: (usbraw_compute_udi), (video4linux_add),
(video4linux_compute_udi), (dvb_add), (dvb_compute_udi): Add device
objects for video and dvb devices, to have a way for applications to
find the associated device nodes. Meaningful properties need to be
added by someone who knows about this device class.
* tools/device-manager/Representation.py: Add match to show icon
in hal-device-manager.
Index: Representation.py
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/Representation.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Representation.py 1 Jul 2005 17:49:44 -0000 1.15
+++ Representation.py 13 Jan 2006 16:40:31 -0000 1.16
@@ -77,7 +77,9 @@
icon = self.icons["keyboard"]
elif cat=="pcmcia_socket":
icon = self.icons["cardbus"]
- elif cat=="multimedia":
+ elif cat=="video4linux":
+ icon = self.icons["video"]
+ elif cat=="dvb":
icon = self.icons["video"]
elif cat=="camera":
icon = self.icons["camera"]
More information about the hal-commit
mailing list