summaryrefslogtreecommitdiffstats
path: root/kioslave
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-09-02 14:59:23 -0500
committerTimothy Pearson <[email protected]>2012-09-02 14:59:23 -0500
commitc881335c5f1f595c922e0c7ed72f9ed937dd323c (patch)
tree5b6d04350bd97f5762e0e54b93ba67579936d46e /kioslave
parentb18416de202eb23828270e2f3de0632ce83c0004 (diff)
downloadtdebase-c881335c5f1f595c922e0c7ed72f9ed937dd323c.tar.gz
tdebase-c881335c5f1f595c922e0c7ed72f9ed937dd323c.zip
Fix incorrect removable device icons
Diffstat (limited to 'kioslave')
-rw-r--r--kioslave/media/mediamanager/tdehardwarebackend.cpp6
1 files changed, 3 insertions, 3 deletions
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)) {