Changeset 10630 in josm


Ignore:
Timestamp:
2016-07-24T21:39:08+02:00 (8 years ago)
Author:
simon04
Message:

fix #13201 - Support Geo URLs on command line and open location

Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/linux/latest/usr/share/applications/josm-latest.desktop

    r8841 r10630  
    88Exec=josm-latest %F
    99Terminal=false
    10 MimeType=application/x-osm+xml;application/x-gpx+xml;
     10MimeType=application/x-osm+xml;application/x-gpx+xml;x-scheme-handler/geo;
    1111StartupNotify=true
    1212Categories=Education;Geoscience;Maps;
  • trunk/linux/tested/usr/share/applications/josm.desktop

    r8841 r10630  
    88Exec=josm %F
    99Terminal=false
    10 MimeType=application/x-osm+xml;application/x-gpx+xml;
     10MimeType=application/x-osm+xml;application/x-gpx+xml;x-scheme-handler/geo;
    1111StartupNotify=true
    1212Categories=Education;Geoscience;Maps;
  • trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java

    r10212 r10630  
    2424
    2525import org.openstreetmap.josm.Main;
     26import org.openstreetmap.josm.actions.downloadtasks.DownloadGeoUrlTask;
    2627import org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask;
    2728import org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask;
     
    6869        addDownloadTaskClass(DownloadOsmChangeTask.class);
    6970        addDownloadTaskClass(DownloadOsmUrlTask.class);
     71        addDownloadTaskClass(DownloadGeoUrlTask.class);
    7072        addDownloadTaskClass(DownloadOsmIdTask.class);
    7173        addDownloadTaskClass(DownloadOsmCompressedTask.class);
Note: See TracChangeset for help on using the changeset viewer.