Ignore:
Timestamp:
2017-06-13T22:49:56+02:00 (7 years ago)
Author:
donvip
Message:

fix #josm14063 - Old style SideButton usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckDialog.java

    r33396 r33397  
    9191                putValue(NAME, marktr("Create"));
    9292                putValue(SHORT_DESCRIPTION, tr("create the channel digraph"));
    93                 putValue(SMALL_ICON, ImageProvider.get("dialogs", "digraphcreation"));
     93                new ImageProvider("dialogs", "digraphcreation").getResource().attachImageIcon(this, true);
    9494            }
    9595            @Override
     
    104104                putValue(NAME, marktr("Check "));
    105105                putValue(SHORT_DESCRIPTION, tr("check the subset for junction properties"));
    106                 putValue(SMALL_ICON, ImageProvider.get("dialogs", "junctioncheck"));
     106                new ImageProvider("dialogs", "junctioncheck").getResource().attachImageIcon(this, true);
    107107            }
    108108            @Override
     
    117117                putValue(NAME, marktr("Search "));
    118118                putValue(SHORT_DESCRIPTION, tr("search for junctions in the channel subset"));
    119                 putValue(SMALL_ICON, ImageProvider.get("dialogs", "junctionsearch"));
     119                new ImageProvider("dialogs", "junctionsearch").getResource().attachImageIcon(this, true);
    120120            }
    121121            @Override
Note: See TracChangeset for help on using the changeset viewer.