mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Restored use of star icon for bookmark tag name nodes
This commit is contained in:
parent
fd811a4919
commit
3ef3ce3da2
@ -35,6 +35,7 @@ public class TagNameNode extends DisplayableItemNode {
|
||||
private static final String CONTENT_TAG_TYPE_NODE_KEY = "Content Tags";
|
||||
private static final String BLACKBOARD_ARTIFACT_TAG_TYPE_NODE_KEY = "Result Tags";
|
||||
private static final String ICON_PATH = "org/sleuthkit/autopsy/images/tag-folder-blue-icon-16.png";
|
||||
private static final String BOOKMARK_TAG_ICON_PATH = "org/sleuthkit/autopsy/images/star-bookmark-icon-16.png";
|
||||
private final TagName tagName;
|
||||
|
||||
public TagNameNode(TagName tagName) {
|
||||
@ -42,7 +43,12 @@ public class TagNameNode extends DisplayableItemNode {
|
||||
this.tagName = tagName;
|
||||
super.setName(tagName.getDisplayName());
|
||||
super.setDisplayName(tagName.getDisplayName());
|
||||
this.setIconBaseWithExtension(ICON_PATH);
|
||||
if (tagName.getDisplayName().equals("Bookmark")) {
|
||||
setIconBaseWithExtension(BOOKMARK_TAG_ICON_PATH);
|
||||
}
|
||||
else {
|
||||
setIconBaseWithExtension(ICON_PATH);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user