Ignore:
Timestamp:
2012-02-01T16:59:09+01:00 (13 years ago)
Author:
stoecker
Message:

fix deprecations

Location:
applications/editors/josm/plugins/roadsigns
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/roadsigns/build.xml

    r26990 r27675  
    3030    <property name="commit.message" value="preset maintenance (Fahrradstraße)"/>
    3131    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    32     <property name="plugin.main.version" value="4549"/>
     32    <property name="plugin.main.version" value="4721"/>
    3333
    3434    <!--
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/Sign.java

    r22420 r27675  
    8282    public ImageIcon getIcon() {
    8383        if (icon == null) {
    84             icon = ImageProvider.getIfAvailable(RoadSignsPlugin.iconDirs, "plugin.sign."+id, null, iconURL, null);
     84            icon = new ImageProvider(iconURL).setDirs(RoadSignsPlugin.iconDirs).setId("plugin.sign."+id).setOptional(true).get();
    8585        }
    8686        return icon;
Note: See TracChangeset for help on using the changeset viewer.