From c881335c5f1f595c922e0c7ed72f9ed937dd323c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 2 Sep 2012 14:59:23 -0500 Subject: Fix incorrect removable device icons --- kioslave/media/mediamanager/tdehardwarebackend.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kioslave') diff --git a/kioslave/media/mediamanager/tdehardwarebackend.cpp b/kioslave/media/mediamanager/tdehardwarebackend.cpp index 189d0015e..bb12e09ab 100644 --- a/kioslave/media/mediamanager/tdehardwarebackend.cpp +++ b/kioslave/media/mediamanager/tdehardwarebackend.cpp @@ -518,13 +518,13 @@ void TDEBackend::setVolumeProperties(Medium* medium) if (sdevice->isDiskOfType(TDEDiskDeviceType::CompactFlash)) { medium->setIconName("compact_flash" + MOUNT_ICON_SUFFIX); } - if (sdevice->isDiskOfType(TDEDiskDeviceType::CompactFlash)) { + if (sdevice->isDiskOfType(TDEDiskDeviceType::MemoryStick)) { medium->setIconName("memory_stick" + MOUNT_ICON_SUFFIX); } - if (sdevice->isDiskOfType(TDEDiskDeviceType::CompactFlash)) { + if (sdevice->isDiskOfType(TDEDiskDeviceType::SmartMedia)) { medium->setIconName("smart_media" + MOUNT_ICON_SUFFIX); } - if (sdevice->isDiskOfType(TDEDiskDeviceType::CompactFlash)) { + if (sdevice->isDiskOfType(TDEDiskDeviceType::SDMMC)) { medium->setIconName("sd_mmc" + MOUNT_ICON_SUFFIX); } if (sdevice->isDiskOfType(TDEDiskDeviceType::MediaDevice)) { -- cgit v1.2.1