Changeset 16414 in josm


Ignore:
Timestamp:
2020-05-15T22:39:15+02:00 (3 weeks ago)
Author:
simon04
Message:

ToolbarPreferences: use the same icons as the RelationEditor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java

    r15586 r16414  
    792792            JButton b = new JButton();
    793793            if ("up".equals(name)) {
    794                 b.setIcon(ImageProvider.get("dialogs", "up", ImageSizes.SMALLICON));
     794                b.setIcon(ImageProvider.get("dialogs", "moveup", ImageSizes.LARGEICON));
     795                b.setToolTipText(tr("Move the currently selected members up"));
    795796            } else if ("down".equals(name)) {
    796                 b.setIcon(ImageProvider.get("dialogs", "down", ImageSizes.SMALLICON));
    797             } else {
    798                 b.setText(name);
     797                b.setIcon(ImageProvider.get("dialogs", "movedown", ImageSizes.LARGEICON));
     798                b.setToolTipText(tr("Move the currently selected members down"));
     799            } else if ("<".equals(name)) {
     800                b.setIcon(ImageProvider.get("dialogs/conflict", "copybeforecurrentright", ImageSizes.LARGEICON));
     801                b.setToolTipText(tr("Add all objects selected in the current dataset before the first selected member"));
     802            } else if (">".equals(name)) {
     803                b.setIcon(ImageProvider.get("dialogs", "delete", ImageSizes.LARGEICON));
     804                b.setToolTipText(tr("Remove"));
    799805            }
    800806            b.addActionListener(moveAction);
Note: See TracChangeset for help on using the changeset viewer.