Ignore:
Timestamp:
2016-06-19T18:28:26+02:00 (9 years ago)
Author:
stoecker
Message:

see #9995 - patch mainly by strump - improve HIDPI behaviour

Location:
trunk/src/org/openstreetmap/josm/actions/relation
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/relation/DeleteRelationsAction.java

    r10413 r10428  
    2424        putValue(SHORT_DESCRIPTION, tr("Delete the selected relation"));
    2525        putValue(NAME, tr("Delete"));
    26         putValue(SMALL_ICON, ImageProvider.get("dialogs", "delete"));
     26        new ImageProvider("dialogs", "delete").getResource().attachImageIcon(this, true);
    2727    }
    2828
  • trunk/src/org/openstreetmap/josm/actions/relation/DuplicateRelationAction.java

    r10413 r10428  
    2222    public DuplicateRelationAction() {
    2323        putValue(SHORT_DESCRIPTION, tr("Create a copy of this relation and open it in another editor window"));
    24         putValue(SMALL_ICON, ImageProvider.get("duplicate"));
     24        new ImageProvider("duplicate").getResource().attachImageIcon(this, true);
    2525        putValue(NAME, tr("Duplicate"));
    2626    }
  • trunk/src/org/openstreetmap/josm/actions/relation/EditRelationAction.java

    r10413 r10428  
    3232        putValue(NAME, tr("Edit"));
    3333        putValue(SHORT_DESCRIPTION, tr("Call relation editor for selected relation"));
    34         putValue(SMALL_ICON, ImageProvider.get("dialogs", "edit"));
     34        new ImageProvider("dialogs", "edit").getResource().attachImageIcon(this, true);
    3535    }
    3636
  • trunk/src/org/openstreetmap/josm/actions/relation/SelectRelationAction.java

    r10413 r10428  
    2626        putValue(SHORT_DESCRIPTION, add ? tr("Add the selected relations to the current selection") :
    2727            tr("Set the current selection to the list of selected relations"));
    28         putValue(SMALL_ICON, ImageProvider.get("dialogs", "select"));
     28        new ImageProvider("dialogs", "select").getResource().attachImageIcon(this, true);
    2929        putValue(NAME, add ? tr("Select relation (add)") : tr("Select relation"));
    3030        this.add = add;
Note: See TracChangeset for help on using the changeset viewer.