Ignore:
Timestamp:
2012-02-16T20:58:54+01:00 (12 years ago)
Author:
stoecker
Message:

mv jump to action from G to key J

File:
1 edited

Legend:

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

    r4936 r4960  
    2727import org.openstreetmap.josm.io.MirroredInputStream;
    2828import org.openstreetmap.josm.tools.ImageProvider;
    29 import org.openstreetmap.josm.tools.ImageProvider.SanitizeMode;
    3029
    3130/**
     
    8988
    9089    public static ImageIcon getIcon(IconReference ref, int width, int height) {
    91         return getIcon(ref, width, height, SanitizeMode.OFF);
    92     }
    93 
    94     public static ImageIcon getIcon(IconReference ref, int width, int height, SanitizeMode sanitize) {
    9590        final String namespace = ref.source.getPrefName();
    9691        ImageIcon i = new ImageProvider(ref.iconName)
     
    10095                .setWidth(width)
    10196                .setHeight(height)
    102                 .setSanitize(sanitize)
    10397                .setOptional(true).get();
    10498        if(i == null)
     
    108102        }
    109103        return i;
    110     }
    111 
    112     public static ImageIcon getNoIcon_Icon(StyleSource source) {
    113         return getNoIcon_Icon(source, SanitizeMode.OFF);
    114104    }
    115105
     
    122112     *  can be null if the defaults are turned off by user
    123113     */
    124     public static ImageIcon getNoIcon_Icon(StyleSource source, SanitizeMode sanitize) {
     114    public static ImageIcon getNoIcon_Icon(StyleSource source) {
    125115        return new ImageProvider("misc/no_icon.png")
    126116                .setDirs(getIconSourceDirs(source))
    127117                .setId("mappaint."+source.getPrefName())
    128118                .setArchive(source.zipIcons)
    129                 .setSanitize(sanitize)
    130119                .setOptional(true).get();
    131120    }
Note: See TracChangeset for help on using the changeset viewer.