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

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

File:
1 edited

Legend:

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

    r10413 r10428  
    298298            putValue(NAME, tr("Select"));
    299299            putValue(SHORT_DESCRIPTION, tr("Select all objects assigned to the currently selected changesets"));
    300             putValue(SMALL_ICON, ImageProvider.get("dialogs", "select"));
     300            new ImageProvider("dialogs", "select").getResource().attachImageIcon(this, true);
    301301            updateEnabledState();
    302302        }
     
    351351            putValue(NAME, tr("Download"));
    352352            putValue(SHORT_DESCRIPTION, tr("Download information about the selected changesets from the OSM server"));
    353             putValue(SMALL_ICON, ImageProvider.get("download"));
     353            new ImageProvider("download").getResource().attachImageIcon(this, true);
    354354            updateEnabledState();
    355355        }
     
    388388            putValue(NAME, tr("Close open changesets"));
    389389            putValue(SHORT_DESCRIPTION, tr("Closes the selected open changesets"));
    390             putValue(SMALL_ICON, ImageProvider.get("closechangeset"));
     390            new ImageProvider("closechangeset").getResource().attachImageIcon(this, true);
    391391            updateEnabledState();
    392392        }
     
    423423            putValue(NAME, tr("Show info"));
    424424            putValue(SHORT_DESCRIPTION, tr("Open a web page for each selected changeset"));
    425             putValue(SMALL_ICON, ImageProvider.get("help/internet"));
     425            new ImageProvider("help/internet").getResource().attachImageIcon(this, true);
    426426            updateEnabledState();
    427427        }
     
    463463            putValue(NAME, tr("Details"));
    464464            putValue(SHORT_DESCRIPTION, tr("Opens the Changeset Manager window for the selected changesets"));
    465             putValue(SMALL_ICON, ImageProvider.get("dialogs/changeset", "changesetmanager"));
     465            new ImageProvider("dialogs/changeset", "changesetmanager").getResource().attachImageIcon(this, true);
    466466        }
    467467
Note: See TracChangeset for help on using the changeset viewer.