summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-03-02 09:09:18 -0600
committerSlávek Banko <slavek.banko@axis.cz>2015-03-04 23:39:02 +0100
commit96a403ea3baedc7034aa8016d036310efd61c925 (patch)
tree56fe0222d0d86330a4b91468a4364772cf72df11
parent618348f47dbb33bffde91f9478ff8dd02e855a51 (diff)
downloadkrusader-96a403ea3baedc7034aa8016d036310efd61c925.tar.gz
krusader-96a403ea3baedc7034aa8016d036310efd61c925.zip
Rename most device icons to comply with XDG standards
(cherry picked from commit dd5e09379e477abc27787f0055082f0de3e82fc8)
-rw-r--r--krusader/MountMan/kmountmangui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/krusader/MountMan/kmountmangui.cpp b/krusader/MountMan/kmountmangui.cpp
index 9107808..ceb9d92 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 ? "3floppy_mount" : "3floppy_unmount" ) );
+ icon = new TQPixmap( LOADICON( mtd ? "media-floppy-3_5-mounted" : "media-floppy-3_5" ) );
} else if ( id == "/dev/cd" || fs.type() == "iso9660" ) {
- icon = new TQPixmap( LOADICON( mtd ? "cdrom_mount" : "cdrom_unmount" ) );
+ icon = new TQPixmap( LOADICON( mtd ? "media-optical-cdrom-mounted" : "media-optical-cdrom" ) );
} else if ( fs.type() == "nfs" || fs.type() == "smbfs" ) {
icon = new TQPixmap( LOADICON( mtd ? "nfs_mount" : "nfs_unmount" ) );
- } else icon = new TQPixmap( LOADICON( mtd ? "hdd_mount" : "hdd_unmount" ) );
+ } else icon = new TQPixmap( LOADICON( mtd ? "drive-harddisk-mounted" : "drive-harddisk" ) );
item->setPixmap( 0, *icon );
delete icon;