Changeset 3041 in josm for trunk


Ignore:
Timestamp:
2010-02-25T12:48:47+01:00 (10 years ago)
Author:
stoecker
Message:

fixed #4613 - icon updates

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r2989 r3041  
    25142514            <text key="name" text="Name" default="" delete_if_empty="true" />
    25152515        </item>
    2516         <item name="Fire Hydrant" type="node">
     2516        <item name="Fire Hydrant" icon="presets/fire_hydrant.png" type="node">
    25172517            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=fire hydrant"
    25182518                  fi.href="http://wiki.openstreetmap.org/wiki/Fi:Tag:fire hydrant" />
     
    28112811            <space />
    28122812        </item>
    2813         <item name="Veterinary" icon="presets/empty.png" type="node,closedway">
     2813        <item name="Veterinary" icon="styles/standard/health/veterinary.png" type="node,closedway">
    28142814            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=veterinary"
    28152815                  fi.href="http://wiki.openstreetmap.org/wiki/Fi:Tag:amenity=veterinary" />
  • trunk/src/org/openstreetmap/josm/io/MirroredInputStream.java

    r3011 r3041  
    102102            }
    103103        } catch (Exception e) {
    104             System.err.println(tr("Warning: failed to open file with extension ''{2}'' and namepart ''{3}'' in zip file ''{0}''. Exception was: {1}", file.getName(), e.toString(), extension, namepart));
     104            if(file.getName().endsWith(".zip")) {
     105                System.err.println(tr("Warning: failed to open file with extension ''{2}'' and namepart ''{3}'' in zip file ''{0}''. Exception was: {1}",
     106                file.getName(), e.toString(), extension, namepart));
     107            }
    105108        }
    106109        return res;
Note: See TracChangeset for help on using the changeset viewer.