diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-06 12:15:23 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-06 12:15:23 -0500 |
commit | 77a1b11d205e55a99a6a507e6faf3e5baf70faf6 (patch) | |
tree | f407fd5c04852818644e085256149cb5b14894e4 /tdeioslave/media/mediamanager | |
parent | 408f22444f371c13ef48f677de855505c9a3d741 (diff) | |
download | tdebase-77a1b11d205e55a99a6a507e6faf3e5baf70faf6.tar.gz tdebase-77a1b11d205e55a99a6a507e6faf3e5baf70faf6.zip |
Distinguish between CD types in media tdeioslave popups
This resolves Bug 1371
Diffstat (limited to 'tdeioslave/media/mediamanager')
-rw-r--r-- | tdeioslave/media/mediamanager/tdehardwarebackend.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeioslave/media/mediamanager/tdehardwarebackend.cpp b/tdeioslave/media/mediamanager/tdehardwarebackend.cpp index a79f0522e..ce9d8fb9e 100644 --- a/tdeioslave/media/mediamanager/tdehardwarebackend.cpp +++ b/tdeioslave/media/mediamanager/tdehardwarebackend.cpp @@ -499,7 +499,7 @@ void TDEBackend::setVolumeProperties(Medium* medium) } if (sdevice->isDiskOfType(TDEDiskDeviceType::CDR)) { - mimeType = "media/cdwriter" + MOUNT_SUFFIX; + mimeType = "media/cd-r" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { mimeType = "media/blankcd"; medium->unmountableState(""); @@ -508,7 +508,7 @@ void TDEBackend::setVolumeProperties(Medium* medium) } if (sdevice->isDiskOfType(TDEDiskDeviceType::CDRW)) { - mimeType = "media/cdwriter" + MOUNT_SUFFIX; + mimeType = "media/cd-rw" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { mimeType = "media/blankcd"; medium->unmountableState(""); @@ -517,7 +517,7 @@ void TDEBackend::setVolumeProperties(Medium* medium) } if (sdevice->isDiskOfType(TDEDiskDeviceType::CDMO)) { - mimeType = "media/cdwriter" + MOUNT_SUFFIX; + mimeType = "media/cd-rw" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { mimeType = "media/blankcd"; medium->unmountableState(""); @@ -526,7 +526,7 @@ void TDEBackend::setVolumeProperties(Medium* medium) } if (sdevice->isDiskOfType(TDEDiskDeviceType::CDMRRW)) { - mimeType = "media/cdwriter" + MOUNT_SUFFIX; + mimeType = "media/cd-rw" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { mimeType = "media/blankcd"; medium->unmountableState(""); @@ -535,7 +535,7 @@ void TDEBackend::setVolumeProperties(Medium* medium) } if (sdevice->isDiskOfType(TDEDiskDeviceType::CDMRRWW)) { - mimeType = "media/cdwriter" + MOUNT_SUFFIX; + mimeType = "media/cd-rw" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { mimeType = "media/blankcd"; medium->unmountableState(""); |