Merge pull request #2981 from APriestman/2738_changeVirtualFolderIcon

Use small V on virtual directory icons
This commit is contained in:
Richard Cordovano 2017-08-04 14:19:55 -04:00 committed by GitHub
commit c8765d54d3
2 changed files with 3 additions and 7 deletions

View File

@ -63,15 +63,11 @@ public class VirtualDirectoryNode extends AbstractAbstractFileNode<VirtualDirect
String name = ld.getName(); String name = ld.getName();
//set icon for name, special case for some built-ins //set icon for name, special case for logical file set
if (name.equals(VirtualDirectory.NAME_UNALLOC)) { if (ld.isDataSource()) {
this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/folder-icon-deleted.png"); //NON-NLS
} else if (ld.isDataSource()) {
this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/fileset-icon-16.png"); //NON-NLS this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/fileset-icon-16.png"); //NON-NLS
} else if (name.equals(VirtualDirectory.NAME_CARVED)) {
this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/Folder-icon.png"); //TODO NON-NLS
} else { } else {
this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/Folder-icon.png"); //NON-NLS this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/folder-icon-virtual.png"); //TODO NON-NLS
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B