Hi,

Peter Liedler wrote:
this one should be executable:

      if cdrom.isDeviceInterface (Solid.DeviceInterface.OpticalDrive):
burner = cdrom.asDeviceInterface (Solid.DeviceInterface.OpticalDrive)
           print burner.supportedMedia()

Looks like a bug in PyKDE. You should be getting an optical driver object back, but instead you get a drive object.

It looks like something I can fix for KDE 4.1, and maybe 4.0 if there is demand for it.

cheers,

--
Simon Edwards             | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED]       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to