This 2-liner adds the capability to show the sd_mmc icon for a device exposing 
the corresponding property

I am also willing to provide a patch to add support for the following icons:
media-optical-blu-ray
media-optical-dvd

Are those welcome?

Thanks
  --J
Index: hal/haldevice.cpp
===================================================================
--- hal/haldevice.cpp	(revision 1007224)
+++ hal/haldevice.cpp	(working copy)
@@ -146,6 +146,8 @@
             return "media-floppy";
         } else if (property("storage.drive_type").toString()=="cdrom") {
             return "drive-optical";
+        } else if (property("storage.drive_type").toString()=="sd_mmc") {
+	    return "media-flash-sd-mmc";
         } else if (property("storage.hotpluggable").toBool()) {
             if (property("storage.bus").toString()=="usb") {
                 if (property("storage.no_partitions_hint").toBool()
_______________________________________________
Kde-hardware-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-hardware-devel

Reply via email to