Ticket #19957: icon_svg.patch

File icon_svg.patch, 5.3 KB (added by holgermappt, 5 years ago)

Patch file

  • plugins/photoadjust/README

     
    1616
    1717
    1818Resources:
    19   images/untaglayer.png:
     19  images/untaglayer.svg:
    2020    combination of:
    21       JOSM plugin photo_geotagging, images/geotagging.png
    22         Author: Paul Hartmann
    23         License: GPL v2 or any later version
    24       self made text (CC0)
     21      JOSM resources/images/dialogs/geoimage/togglegit.svg
     22      JOSM resources/images/download_new_layer.svg
     23        Author: JOSM contributors and others, see JOSM CONTRIBUTION
     24        License: GNU General Public License v2 or later
    2525    License: GPL v2 or later
    26   images/photoadjust.png:
     26  images/photoadjust.svg, images/mapmode/photoadjust.svg:
    2727    combination of:
    28       JOSM images/dialogs/geoimage/gpx2img.png
     28      JOSM resources/images/mapmode/move/move.svg
     29      JOSM resources/images/dialogs/geoimage/togglegit.svg
    2930        Author: JOSM contributors and others, see JOSM CONTRIBUTION
    3031        License: GNU General Public License v2 or later
    31       self made arrows (CC0)
    3232    License: GPL v2 or later
    3333  src/org/openstreetmap/josm/plugins/photoadjust/
    3434    different authors (see SVN log)
  • plugins/photoadjust/build.xml

     
    1212    <property name="plugin.author" value="holgermappt"/>
    1313    <property name="plugin.class" value="org.openstreetmap.josm.plugins.photoadjust.PhotoAdjustPlugin"/>
    1414    <property name="plugin.description" value="Make photos movable and position them on the map."/>
    15     <property name="plugin.icon" value="images/photoadjust.png"/>
     15    <property name="plugin.icon" value="images/photoadjust.svg"/>
    1616    <property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/PhotoAdjust"/>
    1717    <!--<property name="plugin.early" value="..."/>-->
    1818    <!--<property name="plugin.requires" value="..."/>-->
  • plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java

    Cannot display: file marked as a binary type.
    svn:mime-type = image/png
    
    Property changes on: plugins/photoadjust/images/mapmode/photoadjust.png
    ___________________________________________________________________
    Deleted: svn:mime-type
    ## -1 +0,0 ##
    -image/png
    \ No newline at end of property
    Cannot display: file marked as a binary type.
    svn:mime-type = image/svg+xml
    
    Property changes on: plugins/photoadjust/images/mapmode/photoadjust.svg
    ___________________________________________________________________
    Added: svn:mime-type
    ## -0,0 +1 ##
    +image/svg+xml
    \ No newline at end of property
    Cannot display: file marked as a binary type.
    svn:mime-type = image/png
    
    Property changes on: plugins/photoadjust/images/photoadjust.png
    ___________________________________________________________________
    Deleted: svn:mime-type
    ## -1 +0,0 ##
    -image/png
    \ No newline at end of property
    Cannot display: file marked as a binary type.
    svn:mime-type = image/svg+xml
    
    Property changes on: plugins/photoadjust/images/photoadjust.svg
    ___________________________________________________________________
    Added: svn:mime-type
    ## -0,0 +1 ##
    +image/svg+xml
    \ No newline at end of property
    Cannot display: file marked as a binary type.
    svn:mime-type = image/png
    
    Property changes on: plugins/photoadjust/images/untaglayer.png
    ___________________________________________________________________
    Deleted: svn:mime-type
    ## -1 +0,0 ##
    -image/png
    \ No newline at end of property
    Cannot display: file marked as a binary type.
    svn:mime-type = image/svg+xml
    
    Property changes on: plugins/photoadjust/images/untaglayer.svg
    ___________________________________________________________________
    Added: svn:mime-type
    ## -0,0 +1 ##
    +image/svg+xml
    \ No newline at end of property
     
    5353     * @param worker Worker that does the actual work.
    5454     */
    5555    public PhotoAdjustMapMode(PhotoAdjustWorker worker) {
    56         super(tr("Adjust photos"), "photoadjust.png",
     56        super(tr("Adjust photos"), "photoadjust",
    5757              tr("Move and position photos"),
    5858              // It is almost impossible to find an unused shortcut.
    5959              Shortcut.registerShortcut("mapmode:photoadjust",