Ignore:
Timestamp:
2016-06-12T00:26:29+02:00 (9 years ago)
Author:
stoecker
Message:

see #9995, see #10684 - remove more hardcoded places of images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadSelectionDialog.java

    r10179 r10357  
    259259            putValue(Action.SHORT_DESCRIPTION, tr("Cancel uploading"));
    260260            putValue(Action.NAME, tr("Cancel"));
    261             putValue(Action.SMALL_ICON, ImageProvider.get("", "cancel"));
     261            new ImageProvider("cancel").getResource().getImageIcon(this);
    262262            getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW)
    263263            .put(KeyStroke.getKeyStroke("ESCAPE"), "ESCAPE");
     
    277277            putValue(Action.SHORT_DESCRIPTION, tr("Continue uploading"));
    278278            putValue(Action.NAME, tr("Continue"));
    279             putValue(Action.SMALL_ICON, ImageProvider.get("", "upload"));
     279            new ImageProvider("upload").getResource().getImageIcon(this);
    280280            updateEnabledState();
    281281        }
Note: See TracChangeset for help on using the changeset viewer.