diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-03-02 09:09:18 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-03-02 09:09:18 -0600 |
commit | dd5e09379e477abc27787f0055082f0de3e82fc8 (patch) | |
tree | 56fe0222d0d86330a4b91468a4364772cf72df11 | |
parent | a6adf83f90155172befdde3b1ff7ea42b801b0f6 (diff) | |
download | krusader-dd5e09379e477abc27787f0055082f0de3e82fc8.tar.gz krusader-dd5e09379e477abc27787f0055082f0de3e82fc8.zip |
Rename most device icons to comply with XDG standards
-rw-r--r-- | krusader/MountMan/kmountmangui.cpp | 6 |
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; |