summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-26 23:57:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-26 23:57:45 +0900
commitd0f177af6442c6a5ee1d3c9c130e7221320de67b (patch)
treed13a0a5a4396d34bec6c9956900c08cd062f2782
parentb53ebde96cc815aba482866a65a99c18d0ee4681 (diff)
downloadkrusader-d0f177af.tar.gz
krusader-d0f177af.zip
Adjusted to new normalized device icon names in tdelibs.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--krusader/MountMan/kmountmangui.cpp8
-rw-r--r--krusader/useraction_examples.xml4
2 files changed, 6 insertions, 6 deletions
diff --git a/krusader/MountMan/kmountmangui.cpp b/krusader/MountMan/kmountmangui.cpp
index ceb9d92..91732d6 100644
--- a/krusader/MountMan/kmountmangui.cpp
+++ b/krusader/MountMan/kmountmangui.cpp
@@ -212,12 +212,12 @@ void KMountManGUI::addItemToMountList( TQListView *lst, fsData &fs ) {
TQString id = fs.name().left(7); // only works assuming devices start with "/dev/XX"
TQPixmap *icon = 0;
if ( id == "/dev/fd") {
- icon = new TQPixmap( LOADICON( mtd ? "media-floppy-3_5-mounted" : "media-floppy-3_5" ) );
+ icon = new TQPixmap( LOADICON( mtd ? "media-floppy-3_5-mounted" : "media-floppy-3_5-unmounted" ) );
} else if ( id == "/dev/cd" || fs.type() == "iso9660" ) {
- icon = new TQPixmap( LOADICON( mtd ? "media-optical-cdrom-mounted" : "media-optical-cdrom" ) );
+ icon = new TQPixmap( LOADICON( mtd ? "media-optical-cdrom-mounted" : "media-optical-cdrom-unmounted" ) );
} else if ( fs.type() == "nfs" || fs.type() == "smbfs" ) {
- icon = new TQPixmap( LOADICON( mtd ? "nfs_mount" : "nfs_unmount" ) );
- } else icon = new TQPixmap( LOADICON( mtd ? "drive-harddisk-mounted" : "drive-harddisk" ) );
+ icon = new TQPixmap( LOADICON( mtd ? "nfs-mounted" : "nfs-unmounted" ) );
+ } else icon = new TQPixmap( LOADICON( mtd ? "drive-harddisk-mounted" : "drive-harddisk-unmounted" ) );
item->setPixmap( 0, *icon );
delete icon;
diff --git a/krusader/useraction_examples.xml b/krusader/useraction_examples.xml
index 443f12f..0e9107d 100644
--- a/krusader/useraction_examples.xml
+++ b/krusader/useraction_examples.xml
@@ -84,7 +84,7 @@ Please note: The sed-command is &quot;s/search/repleace/&quot;, so you have to e
<action name="sample_newmount" >
<title>Mount</title>
<tooltip>Mount a new filesystem.</tooltip>
- <icon>hdd_mount</icon>
+ <icon>hdd-mounted</icon>
<category>System</category>
<command run_as="root" executionmode="collect_output" >mount -t %_Ask(&quot;Filesystem Type?&quot;)% %_Ask(&quot;Device ?&quot;)% %_Ask(&quot;Mount Point ?&quot;)%</command>
<defaultshortcut>Alt+Ctrl+M</defaultshortcut>
@@ -296,7 +296,7 @@ You need krusader compiled with javascript support and iconv installed.</descrip
<action name="Jscript_root-mount" >
<title>Javascript, mount as root</title>
<tooltip>Mounts a device with root-privileges</tooltip>
- <icon>hdd_mount</icon>
+ <icon>hdd-mounted</icon>
<category>System</category>
<description>Requirements:
You need krusader compiled with javascript support.</description>