Changeset 7475 in josm


Ignore:
Timestamp:
2014-08-31T12:40:58+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10422 - Double-clicking .gpx file on Mac OS X doesn't open JOSM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/JOSM.app/Contents/Info.plist_template.xml

    r7441 r7475  
    33<key>UTExportedTypeDeclarations</key>
    44<array>
     5    <!-- Export JOSM file format UTI (*.osm) -->
    56    <dict>
    67        <key>UTTypeIdentifier</key>
     
    2829        </dict>
    2930    </dict>
     31</array>
     32<key>UTImportedTypeDeclarations</key>
     33<array>
     34    <!-- Import GPX file format "standard" UTI (*.gpx) -->
    3035    <dict>
    3136        <key>UTTypeIdentifier</key>
     
    4954        </dict>
    5055    </dict>
     56    <!-- Import GPX file format Apple UTI (*.gpx) -->
     57    <dict>
     58        <key>UTTypeIdentifier</key>
     59        <string>com.apple.dt.document.gpx</string>
     60        <key>UTTypeReferenceURL</key>
     61        <string>http://www.topografix.com/GPX/1/1/</string>
     62        <key>UTTypeDescription</key>
     63        <string>GPX File</string>
     64        <key>UTTypeConformsTo</key>
     65        <array>
     66            <string>public.xml</string>
     67        </array>
     68        <key>UTTypeTagSpecification</key>
     69        <dict>
     70            <key>public.filename-extension</key>
     71            <array>
     72                <string>gpx</string>
     73            </array>
     74            <key>public.mime-type</key>
     75            <string>application/gpx+xml</string>
     76        </dict>
     77    </dict>
    5178</array>
    5279<key>CFBundleDocumentTypes</key>
    5380<array>
     81    <!-- Registers opening *.osm files -->
    5482    <dict>
    5583        <key>CFBundleTypeIconFile</key>
     
    74102        </array>
    75103    </dict>
     104    <!-- Registers opening *.gpx files -->
    76105    <dict>
    77106        <key>CFBundleTypeIconFile</key>
     
    82111        <string>Editor</string>
    83112        <key>LSHandlerRank</key>
    84         <string>Owner</string>
     113        <string>Alternate</string>
    85114        <key>LSItemContentTypes</key>
    86115        <array>
    87116            <string>com.topografix.gpx</string>
     117            <string>com.apple.dt.document.gpx</string>
    88118        </array>
    89119        <key>NSExportableTypes</key>
     
    92122        </array>
    93123    </dict>
     124    <!-- Registers opening *.osm.zip, *.osm.gz, *.osm.bz2 files -->
    94125    <dict>
    95126        <key>CFBundleTypeIconFile</key>
Note: See TracChangeset for help on using the changeset viewer.