Changeset 10465 in josm for trunk/src/org
- Timestamp:
- 2016-06-23T18:45:21+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/DeleteFromRelationConfirmationDialog.java
r10378 r10465 319 319 OKAction() { 320 320 putValue(NAME, tr("OK")); 321 putValue(SMALL_ICON, ImageProvider.get("ok"));321 new ImageProvider("ok").getResource().attachImageIcon(this); 322 322 putValue(SHORT_DESCRIPTION, tr("Click to close the dialog and remove the object from the relations")); 323 323 } … … 333 333 CancelAction() { 334 334 putValue(NAME, tr("Cancel")); 335 putValue(SMALL_ICON, ImageProvider.get("cancel"));335 new ImageProvider("cancel").getResource().attachImageIcon(this); 336 336 putValue(SHORT_DESCRIPTION, tr("Click to close the dialog and to abort deleting the objects")); 337 337 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/MapPaintDialog.java
r10428 r10465 342 342 putValue(NAME, tr("On/Off")); 343 343 putValue(SHORT_DESCRIPTION, tr("Turn selected styles on or off")); 344 new ImageProvider("apply").getResource().attachImageIcon(this );344 new ImageProvider("apply").getResource().attachImageIcon(this, true); 345 345 updateEnabledState(); 346 346 } … … 466 466 putValue(NAME, tr("Save as...")); 467 467 putValue(SHORT_DESCRIPTION, tr("Save a copy of this Style to file and add it to the list")); 468 putValue(SMALL_ICON, ImageProvider.get("copy"));468 new ImageProvider("copy").getResource().attachImageIcon(this); 469 469 setEnabled(tblStyles.getSelectedRows().length == 1); 470 470 } … … 562 562 putValue(NAME, tr("Info")); 563 563 putValue(SHORT_DESCRIPTION, tr("view meta information, error log and source definition")); 564 putValue(SMALL_ICON, ImageProvider.get("info"));564 new ImageProvider("info").getResource().attachImageIcon(this); 565 565 setEnabled(tblStyles.getSelectedRows().length == 1); 566 566 }
Note:
See TracChangeset
for help on using the changeset viewer.