Changeset 35499 in osm for applications/editors


Ignore:
Timestamp:
2020-06-29T11:30:41+02:00 (4 years ago)
Author:
stoecker
Message:

remove image extensions

Location:
applications/editors/josm/plugins
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadDataGui.java

    r35221 r35499  
    111111        initTitleAndDescriptionFromGpxData(gpxData);    // this is changing some dialog elements, so it (probably) must be before the following
    112112        setContent(content);
    113         setButtonIcons(new String[] { "uploadtrace.png", "cancel.png" });
     113        setButtonIcons(new String[] { "uploadtrace", "cancel" });
    114114        setupDialog();
    115115
  • applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawConfigDialog.java

    r34948 r35499  
    107107
    108108        setContent(all, false);
    109         setButtonIcons(new String[] {"ok.png", "cancel.png"});
     109        setButtonIcons(new String[] {"ok", "cancel"});
    110110        setToolTipTexts(new String[] {
    111111                tr("Save settings"),
  • applications/editors/josm/plugins/ext_tools/src/ext_tools/preferences/EditToolDialog.java

    r34988 r35499  
    4848                true);
    4949        contentInsets = new Insets(15, 15, 5, 15);
    50         setButtonIcons("ok.png", "cancel.png");
     50        setButtonIcons("ok", "cancel");
    5151
    5252        this.tool = tool;
  • applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/ImportDialog.java

    r34520 r35499  
    2626                true);
    2727        contentInsets = new Insets(15, 15, 5, 15);
    28         setButtonIcons(new String[] { "ok.png", "cancel.png" });
    29        
     28        setButtonIcons(new String[] { "ok", "cancel" });
    3029
    3130        final JPanel panel = new JPanel(new GridBagLayout());
     
    3736        pscale.add(new JLabel(tr("m")),GBC.std().insets(10, 0, 0, 0));
    3837        panel.add(pscale,GBC.eop().fill(GBC.HORIZONTAL));
    39        
     38
    4039        final JLabel label = new JLabel("Curve steps:");
    4140        panel.add(label, GBC.std());
    4241        label.setLabelFor(tsteps);
    4342        panel.add(tsteps, GBC.eol().fill(GBC.HORIZONTAL));
    44        
     43
    4544        tsnum.setValue(Settings.getScaleNumerator());
    4645        tsdiv.setValue(Settings.getScaleDivisor());
     
    5150        setVisible(true);
    5251    }
    53    
     52
    5453    public double getScaleNumerator() {
    5554        try {
     
    5958        }
    6059    }
    61    
     60
    6261    public double getScaleDivisor() {
    6362        try {
     
    8281    }
    8382
    84    
     83
    8584    public void saveSettings() {
    8685        Settings.setScaleNumerator(getScaleNumerator());
  • applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java

    r35426 r35499  
    135135                tr("Photo Geotagging Plugin"),
    136136                new String[] {tr("OK"), tr("Cancel")})
    137             .setButtonIcons(new String[] {"ok.png", "cancel.png"})
     137            .setButtonIcons(new String[] {"ok", "cancel"})
    138138            .setContent(cont)
    139139            .setCancelButton(2)
     
    361361                            tr("Override old backup files?"),
    362362                            new String[] {tr("Cancel"), tr("Keep old backups and continue"), tr("Override")})
    363                         .setButtonIcons(new String[] {"cancel.png", "ok.png", "dialogs/delete.png"})
     363                        .setButtonIcons(new String[] {"cancel", "ok", "dialogs/delete"})
    364364                        .setContent(l)
    365365                        .setCancelButton(1)
  • applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdQuery.java

    r35496 r35499  
    104104    public void setupDialog() {
    105105        setContent(panel, false);
    106         setButtonIcons("ok.png", "cancel.svg");
     106        setButtonIcons("ok", "cancel");
    107107        setDefaultButton(1);
    108108
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignInputDialog.java

    r35260 r35499  
    117117        this.signs = RoadSignsPlugin.signs;
    118118        sel = new SignSelection();
    119         setButtonIcons("ok.png", "cancel.png");
     119        setButtonIcons("ok", "cancel");
    120120        final JTabbedPane tabs = new JTabbedPane();
    121121        tabs.add(tr("signs"), buildSignsPanel());
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsDiskAccessAction.java

    r34470 r35499  
    6767                );
    6868                dialog.setContent(tr("File exists. Overwrite?"));
    69                 dialog.setButtonIcons(new String[] {"save_as.png", "cancel.png"});
     69                dialog.setButtonIcons(new String[] {"save_as", "cancel"});
    7070                dialog.showDialog();
    7171                if (dialog.getValue() != 1)
     
    126126            );
    127127            dialog.setContent(tr("File exists. Overwrite?"));
    128             dialog.setButtonIcons(new String[] {"save_as.png", "cancel.png"});
     128            dialog.setButtonIcons(new String[] {"save_as", "cancel"});
    129129            dialog.showDialog();
    130130            return (dialog.getValue() == 1);
  • applications/editors/josm/plugins/terracer/src/org/openstreetmap/josm/plugins/terracer/HouseNumberInputDialog.java

    r34584 r35499  
    108108        JPanel content = getInputPanel();
    109109        setContent(content);
    110         setButtonIcons(new String[] {"ok.png", "cancel.png" });
     110        setButtonIcons(new String[] {"ok", "cancel" });
    111111        getJContentPane();
    112112        initialize();
  • applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences/ServerParamDialog.java

    r34564 r35499  
    121121
    122122        contentInsets = new Insets(15, 15, 5, 15);
    123         setButtonIcons(new String[] {"ok.png", "cancel.png"});
     123        setButtonIcons(new String[] {"ok", "cancel"});
    124124
    125125        m_oTileSize = new JComboBox<>(m_astrTileSize);
  • applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteDialog.java

    r34871 r35499  
    5656        all.add(layer, gc);
    5757        setContent(all, false);
    58         setButtonIcons("undelete.png", "cancel.png");
     58        setButtonIcons("undelete", "cancel");
    5959        setToolTipTexts(tr("Start undeleting"), tr("Close dialog and cancel"));
    6060        setDefaultButton(1);
Note: See TracChangeset for help on using the changeset viewer.