- Timestamp:
- 2012-11-09T21:16:38+01:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/MapPaintDialog.java
r5573 r5576 488 488 FileFilter ff; 489 489 if (s instanceof MapCSSStyleSource) { 490 ff = new ExtensionFileFilter("mapcss,css ", "mapcss", tr("Map paint style file (*.mapcss)"));490 ff = new ExtensionFileFilter("mapcss,css,zip", "mapcss", tr("Map paint style file (*.mapcss, *.zip)")); 491 491 } else { 492 ff = new ExtensionFileFilter("xml ", "xml", tr("Map paint style file (*.xml)"));492 ff = new ExtensionFileFilter("xml,zip", "xml", tr("Map paint style file (*.xml, *.zip)")); 493 493 } 494 494 fcm.createFileChooser(false, null, Arrays.asList(ff, FileFilterAllFiles.getInstance()), ff, JFileChooser.FILES_ONLY) -
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
r5572 r5576 758 758 FileFilter ff; 759 759 if (isMapPaint) { 760 ff = new ExtensionFileFilter("xml,mapcss,css ", "xml", tr("Map paint style file (*.xml, *.mapcss)"));760 ff = new ExtensionFileFilter("xml,mapcss,css,zip", "xml", tr("Map paint style file (*.xml, *.mapcss, *.zip)")); 761 761 } else { 762 ff = new ExtensionFileFilter("xml ", "xml", tr("Preset definition file (*.xml)"));762 ff = new ExtensionFileFilter("xml,zip", "xml", tr("Preset definition file (*.xml, *.zip)")); 763 763 } 764 764 JFileChooserManager fcm = new JFileChooserManager(true)
Note:
See TracChangeset
for help on using the changeset viewer.