1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* update file icons

This commit is contained in:
Reinhard Pointner 2015-11-23 13:23:19 +00:00
parent 63e78f8d09
commit 9e0154647c
10 changed files with 3 additions and 8 deletions

View File

Before

Width:  |  Height:  |  Size: 831 B

After

Width:  |  Height:  |  Size: 831 B

View File

Before

Width:  |  Height:  |  Size: 957 B

After

Width:  |  Height:  |  Size: 957 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 684 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -1,7 +1,5 @@
package net.filebot.ui.analyze;
import java.awt.Component;
import javax.swing.JTree;
@ -11,7 +9,6 @@ import net.filebot.ResourceManager;
import net.filebot.util.ui.FancyTreeCellRenderer;
import net.filebot.util.ui.GradientStyle;
public class FileTreeCellRenderer extends FancyTreeCellRenderer {
public FileTreeCellRenderer() {
@ -19,10 +16,9 @@ public class FileTreeCellRenderer extends FancyTreeCellRenderer {
openIcon = ResourceManager.getIcon("tree.open");
closedIcon = ResourceManager.getIcon("tree.closed");
leafIcon = ResourceManager.getIcon("tree.leaf");
leafIcon = ResourceManager.getIcon("file.generic");
}
@Override
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) {
if (leaf && isFolder(value)) {
@ -36,7 +32,6 @@ public class FileTreeCellRenderer extends FancyTreeCellRenderer {
return this;
}
private boolean isFolder(Object value) {
if (((TreeNode) value).getAllowsChildren())
return true;

View File

@ -109,7 +109,7 @@ class RenameList<E> extends FileBotList<E> {
loadAction.actionPerformed(new ActionEvent(evt.getSource(), evt.getID(), evt.getActionCommand(), 0));
}
});
actionPopup.add(new AbstractAction("Select Files", ResourceManager.getIcon("file.unknown")) {
actionPopup.add(new AbstractAction("Select Files", ResourceManager.getIcon("file.generic")) {
@Override
public void actionPerformed(ActionEvent evt) {

View File

@ -99,7 +99,7 @@ class SubtitleDownloadComponent extends JComponent {
if (SUBTITLE_FILES.accept(value.toString()))
return ResourceManager.getIcon("file.subtitle");
return ResourceManager.getIcon("file.unknown");
return ResourceManager.getIcon("file.generic");
}
};