[cl.viewer] using common set icons on tabs.

This commit is contained in:
magenoxx 2011-01-15 00:51:48 +03:00
parent 185913fde3
commit a453d3a6ac
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ public class ManaSymbols {
}
for (String set : CardsStorage.getSetCodes()) {
String _set = set.equals("CON") ? "CFX" : set;
File file = new File(Constants.RESOURCE_PATH_SET + _set + ".jpg");
File file = new File(Constants.RESOURCE_PATH_SET + _set + "-C.jpg");
try {
Image image = UI.getImageIcon(file.getAbsolutePath()).getImage();
int width = image.getWidth(null);

View file

@ -154,7 +154,7 @@ public class MageBook extends JComponent {
if (setImage != null) {
tab.setOverlayImage(setImage);
} else {
System.out.println("Couldn't find: " + "/plugins/images/sets/" + set + ".jpg");
System.out.println("Couldn't find: " + "/plugins/images/sets/" + set + "-C.jpg");
}
tab.setBounds(0, y, 39, 120);
final String _set = set;