Ignore:
Timestamp:
2016-07-19T20:53:22+02:00 (8 years ago)
Author:
stoecker
Message:

see #13084 - fix some errors in icon move

File:
1 edited

Legend:

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

    r10420 r10566  
    165165     */
    166166    public static ImageIcon getNoIcon_Icon(StyleSource source) {
    167         return new ImageProvider("misc/no_icon")
     167        return new ImageProvider("presets/misc/no_icon")
    168168                .setDirs(getIconSourceDirs(source))
    169169                .setId("mappaint."+source.getPrefName())
     
    241241        if (Main.pref.getBoolean("mappaint.icon.enable-defaults", true)) {
    242242            /* don't prefix icon path, as it should be generic */
    243             dirs.add("resource://images/styles/standard/");
    244             dirs.add("resource://images/styles/");
     243            dirs.add("resource://images/");
     244            // FIXME: WORKAROUND for path change, remove this line in August 2016
     245            dirs.add("resource://images/presets/");
    245246        }
    246247
Note: See TracChangeset for help on using the changeset viewer.