From 60319c7d5b0dfa8ac8802888d5c5bf6cd81fc840 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 26 Jun 2019 12:40:20 +0900 Subject: [PATCH] Adjusted to new normalized device icon names in tdelibs. Signed-off-by: Michele Calgaro --- ksim/ksimpref.cpp | 2 +- ksim/monitors/filesystem/DFree.desktop | 2 +- ksim/monitors/filesystem/filesystemwidget.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 @@ KSim::ConfigDialog::ConfigDialog(KSim::Config *config, 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"), 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]=Дялове 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 @@ void FilesystemWidget::showMenu(uint id) 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: