From 21d09d5b23a8a639ab355b2563ba105bc1994364 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 24 Jun 2019 23:06:46 +0900 Subject: Adjusted to new normalized device icon names in tdelibs. Signed-off-by: Michele Calgaro --- kcontrol/hwmanager/hwdevicetray.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kcontrol/hwmanager') diff --git a/kcontrol/hwmanager/hwdevicetray.cpp b/kcontrol/hwmanager/hwdevicetray.cpp index f8e6b89a9..fbc330ddf 100644 --- a/kcontrol/hwmanager/hwdevicetray.cpp +++ b/kcontrol/hwmanager/hwdevicetray.cpp @@ -224,7 +224,7 @@ void HwDeviceSystemTray::populateMenu(TDEPopupMenu* menu) { unmountDiskActionMenu->popupMenu()->clear(); m_mountMenuIndexMap.clear(); - menu->insertTitle(SmallIcon("drive-harddisk"), i18n("Storage Devices")); + menu->insertTitle(SmallIcon("drive-harddisk-unmounted"), i18n("Storage Devices")); // Find all storage devices and add them to the popup menu lastMountIndex = 1; @@ -352,7 +352,7 @@ void HwDeviceSystemTray::deviceAdded(TDEGenericDevice* device) { } m_hardwareNotifierContainer->displayMessage( i18n("A disk device has been added!"), - i18n("%1 (%2)").arg(sdevice->friendlyName(), sdevice->deviceNode()), SmallIcon("drive-harddisk"), + i18n("%1 (%2)").arg(sdevice->friendlyName(), sdevice->deviceNode()), SmallIcon("drive-harddisk-unmounted"), 0, 0, "ADD: " + uuid); } } @@ -370,7 +370,7 @@ void HwDeviceSystemTray::deviceRemoved(TDEGenericDevice* device) { } m_hardwareNotifierContainer->displayMessage( i18n("A disk device has been removed!"), - i18n("%1 (%2)").arg(sdevice->friendlyName(), sdevice->deviceNode()), SmallIcon("drive-harddisk"), + i18n("%1 (%2)").arg(sdevice->friendlyName(), sdevice->deviceNode()), SmallIcon("drive-harddisk-unmounted"), 0, 0, "REMOVE: " + uuid); } } @@ -388,7 +388,7 @@ void HwDeviceSystemTray::deviceChanged(TDEGenericDevice* device) { } m_hardwareNotifierContainer->displayMessage( i18n("A disk device has been changed!"), - i18n("%1 (%2)").arg(sdevice->friendlyName(), sdevice->deviceNode()), SmallIcon("drive-harddisk"), + i18n("%1 (%2)").arg(sdevice->friendlyName(), sdevice->deviceNode()), SmallIcon("drive-harddisk-unmounted"), 0, 0, "CHANGE: " + uuid); } } -- cgit v1.2.3