Branch: master

60319c7d 2019-06-26 03:40:20 Michele Calgaro
Adjusted to new normalized device icon names in tdelibs.

Signed-off-by: Michele Calgaro <michele.calgaro@...>
M ksim/ksimpref.cpp
M ksim/monitors/filesystem/DFree.desktop
M ksim/monitors/filesystem/filesystemwidget.cpp

ksim/ksimpref.cpp

diff --git a/ksim/ksimpref.cpp b/ksim/ksimpref.cpp
index 1c1efbd..746c810 100644
--- a/ksim/ksimpref.cpp
+++ b/ksim/ksimpref.cpp
@@ -84,7 +84,7 @@
 
   list << ' ' + i18n("Miscellaneous") << ' ' + i18n("Swap");
   TQFrame *swap = addHBoxPage(list, i18n("Swap Options"),
-     SmallIcon("drive-harddisk"));
+     SmallIcon("drive-harddisk-unmounted"));
   m_swapPage = new KSim::SwapPrefs(swap);
 
   TQFrame *theme = addHBoxPage(' ' + i18n("Themes"),

ksim/monitors/filesystem/DFree.desktop

diff --git a/ksim/monitors/filesystem/DFree.desktop b/ksim/monitors/filesystem/DFree.desktop
index d6f23b1..3b7cb9e 100644
--- a/ksim/monitors/filesystem/DFree.desktop
+++ b/ksim/monitors/filesystem/DFree.desktop
@@ -1,5 +1,5 @@
 [Desktop Entry]
-Icon=drive-harddisk
+Icon=drive-harddisk-mounted
 Name=DFree
 Name[af]=Dfree
 Name[bg]=Дялове

ksim/monitors/filesystem/filesystemwidget.cpp

diff --git a/ksim/monitors/filesystem/filesystemwidget.cpp b/ksim/monitors/filesystem/filesystemwidget.cpp
index 1435195..2fb77e1 100644
--- a/ksim/monitors/filesystem/filesystemwidget.cpp
+++ b/ksim/monitors/filesystem/filesystemwidget.cpp
@@ -217,7 +217,7 @@
 
   TQPopupMenu menu;
   menu.insertItem(SmallIcon("drive-harddisk-mounted"), i18n("&Mount Device"), 1);
-  menu.insertItem(SmallIcon("drive-harddisk"), i18n("&Unmount Device"), 2);
+  menu.insertItem(SmallIcon("drive-harddisk-unmounted"), i18n("&Unmount Device"), 2);
 
   switch (menu.exec(TQCursor::pos())) {
     case 1: