summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-03-02 09:10:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-03-02 09:10:12 -0600
commit86686421b5b46ca556cf11f71cc5a0098bbe4970 (patch)
treed85d5b7c2dfa52b3f881e39298cc8e2a18409023 /tdecore
parentb274e655be16db90eb5638aa356899a8e11a0ad6 (diff)
downloadtdelibs-86686421b5b46ca556cf11f71cc5a0098bbe4970.tar.gz
tdelibs-86686421b5b46ca556cf11f71cc5a0098bbe4970.zip
Rename most device icons to comply with XDG standards
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp2
-rw-r--r--tdecore/tdehw/tdestoragedevice.cpp32
2 files changed, 17 insertions, 17 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index 7ddd46da1..209280677 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -4140,7 +4140,7 @@ TQPixmap TDEHardwareDevices::getDeviceTypeIconFromType(TDEGenericDeviceType::TDE
ret = DesktopIcon("kcmpci", size); // FIXME
}
else if (query == TDEGenericDeviceType::Disk) {
- ret = DesktopIcon("hdd_unmount", size);
+ ret = DesktopIcon("drive-harddisk", size);
}
else if (query == TDEGenericDeviceType::SCSI) {
ret = DesktopIcon("kcmscsi", size);
diff --git a/tdecore/tdehw/tdestoragedevice.cpp b/tdecore/tdehw/tdestoragedevice.cpp
index 70258e436..6bde78faf 100644
--- a/tdecore/tdehw/tdestoragedevice.cpp
+++ b/tdecore/tdehw/tdestoragedevice.cpp
@@ -621,55 +621,55 @@ TQString TDEStorageDevice::friendlyDeviceType() {
}
TQPixmap TDEStorageDevice::icon(TDEIcon::StdSizes size) {
- TQPixmap ret = DesktopIcon("hdd_unmount", size);
+ TQPixmap ret = DesktopIcon("drive-harddisk", size);
if (isDiskOfType(TDEDiskDeviceType::Floppy)) {
- ret = DesktopIcon("3floppy_unmount", size);
+ ret = DesktopIcon("media-floppy-3_5", size);
}
if (isDiskOfType(TDEDiskDeviceType::Optical)) {
- ret = DesktopIcon("cdrom_unmount", size);
+ ret = DesktopIcon("media-optical-cdrom", size);
}
if (isDiskOfType(TDEDiskDeviceType::CDROM)) {
- ret = DesktopIcon("cdrom_unmount", size);
+ ret = DesktopIcon("media-optical-cdrom", size);
}
if (isDiskOfType(TDEDiskDeviceType::CDRW)) {
- ret = DesktopIcon("cdwriter_unmount", size);
+ ret = DesktopIcon("media-optical-cdwriter", size);
}
if (isDiskOfType(TDEDiskDeviceType::DVDROM)) {
- ret = DesktopIcon("dvd_unmount", size);
+ ret = DesktopIcon("media-optical-dvd", size);
}
if (isDiskOfType(TDEDiskDeviceType::DVDRW)) {
- ret = DesktopIcon("dvd_unmount", size);
+ ret = DesktopIcon("media-optical-dvd", size);
}
if (isDiskOfType(TDEDiskDeviceType::DVDRAM)) {
- ret = DesktopIcon("dvd_unmount", size);
+ ret = DesktopIcon("media-optical-dvd", size);
}
if (isDiskOfType(TDEDiskDeviceType::Zip)) {
- ret = DesktopIcon("zip_unmount", size);
+ ret = DesktopIcon("media-floppy-zip", size);
}
if (isDiskOfType(TDEDiskDeviceType::Tape)) {
- ret = DesktopIcon("tape_unmount", size);
+ ret = DesktopIcon("media-tape", size);
}
if (isDiskOfType(TDEDiskDeviceType::Camera)) {
ret = DesktopIcon("camera_unmount", size);
}
if (isDiskOfType(TDEDiskDeviceType::HDD)) {
- ret = DesktopIcon("hdd_unmount", size);
+ ret = DesktopIcon("drive-harddisk", size);
if (checkDiskStatus(TDEDiskDeviceStatus::Hotpluggable)) {
- ret = DesktopIcon("usbpendrive_unmount", size);
+ ret = DesktopIcon("media-flash-usb", size);
}
if (isDiskOfType(TDEDiskDeviceType::CompactFlash)) {
- ret = DesktopIcon("compact_flash_unmount", size);
+ ret = DesktopIcon("media-flash-compact_flash", size);
}
if (isDiskOfType(TDEDiskDeviceType::MemoryStick)) {
- ret = DesktopIcon("memory_stick_unmount", size);
+ ret = DesktopIcon("media-flash-memory_stick", size);
}
if (isDiskOfType(TDEDiskDeviceType::SmartMedia)) {
- ret = DesktopIcon("smart_media_unmount", size);
+ ret = DesktopIcon("media-flash-smart_media", size);
}
if (isDiskOfType(TDEDiskDeviceType::SDMMC)) {
- ret = DesktopIcon("sd_mmc_unmount", size);
+ ret = DesktopIcon("media-flash-sd_mmc", size);
}
}