Ticket #19296: 19296.patch
File 19296.patch, 5.1 KB (added by , 5 years ago) |
---|
-
src/org/openstreetmap/josm/actions/AboutAction.java
63 63 public AboutAction() { 64 64 super(tr("About"), "logo", tr("Display the about screen."), 65 65 Shortcut.registerShortcut("system:about", tr("About"), 66 KeyEvent.VK_F1, Shortcut.SHIFT), true );66 KeyEvent.VK_F1, Shortcut.SHIFT), true, false); 67 67 } 68 68 69 69 JPanel buildAboutPanel() { -
src/org/openstreetmap/josm/actions/DownloadPrimitiveAction.java
33 33 */ 34 34 public DownloadPrimitiveAction() { 35 35 super(tr("Download object..."), "downloadprimitive", tr("Download OSM object by ID"), 36 SHORTCUT, true );36 SHORTCUT, true, false); 37 37 setHelpId(ht("/Action/DownloadObject")); 38 38 } 39 39 -
src/org/openstreetmap/josm/actions/HistoryInfoAction.java
33 33 super(tr("History"), "dialogs/history", 34 34 tr("Display history information about OSM ways, nodes, or relations."), 35 35 Shortcut.registerShortcut("core:historyinfo", 36 tr("History"), KeyEvent.VK_H, Shortcut.CTRL), false);36 tr("History"), KeyEvent.VK_H, Shortcut.CTRL), true, "action/historyinfo", false); 37 37 setHelpId(ht("/Action/ObjectHistory")); 38 setToolbarId("action/historyinfo");39 MainApplication.getToolbar().register(this);40 38 setEnabled(true); 41 39 } 42 40 -
src/org/openstreetmap/josm/actions/NewAction.java
22 22 */ 23 23 public NewAction() { 24 24 super(tr("New Layer"), "new", tr("Create a new map layer."), 25 Shortcut.registerShortcut("system:new", tr("File: {0}", tr("New Layer")), KeyEvent.VK_N, Shortcut.CTRL), true );25 Shortcut.registerShortcut("system:new", tr("File: {0}", tr("New Layer")), KeyEvent.VK_N, Shortcut.CTRL), true, false); 26 26 setHelpId(ht("/Action/NewLayer")); 27 27 } 28 28 -
src/org/openstreetmap/josm/actions/OpenFileAction.java
66 66 */ 67 67 public OpenFileAction() { 68 68 super(tr("Open..."), "open", tr("Open a file."), 69 Shortcut.registerShortcut("system:open", tr("File: {0}", tr("Open...")), KeyEvent.VK_O, Shortcut.CTRL)); 69 Shortcut.registerShortcut("system:open", tr("File: {0}", tr("Open...")), KeyEvent.VK_O, Shortcut.CTRL), 70 true, null, false); 70 71 setHelpId(ht("/Action/Open")); 71 72 } 72 73 -
src/org/openstreetmap/josm/actions/OpenLocationAction.java
86 86 /* I18N: Command to download a specific location/URL */ 87 87 super(tr("Open Location..."), "openlocation", tr("Open an URL."), 88 88 Shortcut.registerShortcut("system:open_location", tr("File: {0}", tr("Open Location...")), 89 KeyEvent.VK_L, Shortcut.CTRL), true );89 KeyEvent.VK_L, Shortcut.CTRL), true, false); 90 90 setHelpId(ht("/Action/OpenLocation")); 91 91 this.downloadTasks = new ArrayList<>(); 92 92 addDownloadTaskClass(DownloadOsmTask.class); -
src/org/openstreetmap/josm/actions/PreferencesAction.java
87 87 */ 88 88 public PreferencesAction() { 89 89 super(tr("Preferences..."), "preference", tr("Open a preferences dialog for global settings."), 90 Shortcut.registerShortcut("system:preferences", tr("Preferences"), KeyEvent.VK_F12, Shortcut.DIRECT), true );90 Shortcut.registerShortcut("system:preferences", tr("Preferences"), KeyEvent.VK_F12, Shortcut.DIRECT), true, false); 91 91 setHelpId(ht("/Action/Preferences")); 92 92 this.tab = null; 93 93 this.subTab = null;