Changeset 13130 in josm for trunk/src/org/openstreetmap/josm/gui/help
- Timestamp:
- 2017-11-19T20:12:24+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/help/HelpBrowser.java
r12678 r13130 431 431 super(browser); 432 432 putValue(SHORT_DESCRIPTION, tr("Open the current help page in an external browser")); 433 putValue(SMALL_ICON, ImageProvider.get("help", "internet"));433 new ImageProvider("help", "internet").getResource().attachImageIcon(this, true); 434 434 } 435 435 … … 449 449 super(browser); 450 450 putValue(SHORT_DESCRIPTION, tr("Edit the current help page")); 451 putValue(SMALL_ICON, ImageProvider.get("dialogs", "edit"));451 new ImageProvider("dialogs", "edit").getResource().attachImageIcon(this, true); 452 452 } 453 453 … … 489 489 super(browser); 490 490 putValue(SHORT_DESCRIPTION, tr("Reload the current help page")); 491 putValue(SMALL_ICON, ImageProvider.get("dialogs", "refresh"));491 new ImageProvider("dialogs", "refresh").getResource().attachImageIcon(this, true); 492 492 } 493 493 … … 508 508 browser.getHistory().addChangeListener(this); 509 509 putValue(SHORT_DESCRIPTION, tr("Go to the previous page")); 510 putValue(SMALL_ICON, ImageProvider.get("help", "previous"));510 new ImageProvider("help", "previous").getResource().attachImageIcon(this, true); 511 511 setEnabled(browser.getHistory().canGoBack()); 512 512 } … … 533 533 browser.getHistory().addChangeListener(this); 534 534 putValue(SHORT_DESCRIPTION, tr("Go to the next page")); 535 putValue(SMALL_ICON, ImageProvider.get("help", "next"));535 new ImageProvider("help", "next").getResource().attachImageIcon(this, true); 536 536 setEnabled(browser.getHistory().canGoForward()); 537 537 } … … 557 557 super(browser); 558 558 putValue(SHORT_DESCRIPTION, tr("Go to the JOSM help home page")); 559 putValue(SMALL_ICON, ImageProvider.get("help", "home"));559 new ImageProvider("help", "home").getResource().attachImageIcon(this, true); 560 560 } 561 561
Note:
See TracChangeset
for help on using the changeset viewer.