Changeset 13658 in josm for trunk/src/org


Ignore:
Timestamp:
2018-04-22T20:19:24+02:00 (7 years ago)
Author:
Don-vip
Message:

see #16204 - make the missing icon detector script happy (for real)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainFrame.java

    r13656 r13658  
    8383        geometry.applySafe(this);
    8484        List<Image> l = new LinkedList<>();
    85         for (ImageIcon img : new ImageIcon[] {
    86                 ImageProvider.getIfAvailable("logo_16x16x32"),
    87                 ImageProvider.getIfAvailable("logo_16x16x8"),
    88                 ImageProvider.getIfAvailable("logo_32x32x32"),
    89                 ImageProvider.getIfAvailable("logo_32x32x8"),
    90                 ImageProvider.getIfAvailable("logo_48x48x32"),
    91                 ImageProvider.getIfAvailable("logo_48x48x8"),
    92                 ImageProvider.getIfAvailable("logo")}) {
     85        for (String file : new String[] {
     86                /* ICON */ "logo_16x16x32",
     87                /* ICON */ "logo_16x16x8",
     88                /* ICON */ "logo_32x32x32",
     89                /* ICON */ "logo_32x32x8",
     90                /* ICON */ "logo_48x48x32",
     91                /* ICON */ "logo_48x48x8",
     92                /* ICON */ "logo"}) {
     93            ImageIcon img = ImageProvider.getIfAvailable(file);
    9394            if (img != null) {
    9495                l.add(img.getImage());
Note: See TracChangeset for help on using the changeset viewer.