summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-06 12:15:23 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-06 12:15:23 -0500
commit77a1b11d205e55a99a6a507e6faf3e5baf70faf6 (patch)
treef407fd5c04852818644e085256149cb5b14894e4 /tdeioslave/media/mediamanager
parent408f22444f371c13ef48f677de855505c9a3d741 (diff)
downloadtdebase-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.cpp10
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("");