Ignore:
Timestamp:
2016-06-23T18:45:21+02:00 (8 years ago)
Author:
stoecker
Message:

Old style SideButton usage, see #12994

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/DeleteFromRelationConfirmationDialog.java

    r10378 r10465  
    319319        OKAction() {
    320320            putValue(NAME, tr("OK"));
    321             putValue(SMALL_ICON, ImageProvider.get("ok"));
     321            new ImageProvider("ok").getResource().attachImageIcon(this);
    322322            putValue(SHORT_DESCRIPTION, tr("Click to close the dialog and remove the object from the relations"));
    323323        }
     
    333333        CancelAction() {
    334334            putValue(NAME, tr("Cancel"));
    335             putValue(SMALL_ICON, ImageProvider.get("cancel"));
     335            new ImageProvider("cancel").getResource().attachImageIcon(this);
    336336            putValue(SHORT_DESCRIPTION, tr("Click to close the dialog and to abort deleting the objects"));
    337337        }
Note: See TracChangeset for help on using the changeset viewer.