- Timestamp:
- 2020-05-27T07:31:26+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java
r16138 r16502 27 27 public class HistoryInfoAction extends JosmAction { 28 28 29 /** Action shortcut, made public in order to be used from {@code GettingStarted} page. */ 30 public static final Shortcut SHORTCUT = Shortcut.registerShortcut("core:historyinfo", tr("History"), KeyEvent.VK_H, Shortcut.CTRL); 31 29 32 /** 30 33 * Constructs a new {@code HistoryInfoAction}. … … 33 36 super(tr("History"), "dialogs/history", 34 37 tr("Display history information about OSM ways, nodes, or relations."), 35 Shortcut.registerShortcut("core:historyinfo", 36 tr("History"), KeyEvent.VK_H, Shortcut.CTRL), false); 38 SHORTCUT, false); 37 39 setHelpId(ht("/Action/ObjectHistory")); 38 40 setToolbarId("action/historyinfo"); -
trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
r16426 r16502 22 22 23 23 import org.openstreetmap.josm.actions.DownloadPrimitiveAction; 24 import org.openstreetmap.josm.actions.HistoryInfoAction; 24 25 import org.openstreetmap.josm.data.Version; 25 26 import org.openstreetmap.josm.gui.animation.AnimationExtensionManager; … … 135 136 lg = new LinkGeneral("<html>" + STYLE + "<h1>" + "JOSM - " + tr("Java OpenStreetMap Editor") 136 137 + "</h1><h2 align=\"center\">" + tr("Downloading \"Message of the day\"") + "</h2></html>"); 137 // clear the build-in command ctrl+shift+O, ctrl+space because it is used as shortcut in JOSM138 // clear the build-in command ctrl+shift+O, ctrl+space, ctrl+H because it is used as shortcut in JOSM 138 139 lg.getInputMap(JComponent.WHEN_FOCUSED).put(DownloadPrimitiveAction.SHORTCUT.getKeyStroke(), "none"); 139 140 lg.getInputMap(JComponent.WHEN_FOCUSED).put(MenuItemSearchDialog.Action.SHORTCUT.getKeyStroke(), "none"); 141 lg.getInputMap(JComponent.WHEN_FOCUSED).put(HistoryInfoAction.SHORTCUT.getKeyStroke(), "none"); 140 142 lg.setTransferHandler(null); 141 143
Note:
See TracChangeset
for help on using the changeset viewer.