From abff4c4879a67e75c1daf67347a067fe148f58af Mon Sep 17 00:00:00 2001 From: Klumbumbus Date: Fri, 14 Aug 2020 23:05:18 +0200 Subject: [PATCH 1/2] Update RhinoEngineConfigurationPanel.java fix icon path, update to https://josm.openstreetmap.de/changeset/16807/josm --- .../scripting/preferences/RhinoEngineConfigurationPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openstreetmap/josm/plugins/scripting/preferences/RhinoEngineConfigurationPanel.java b/src/main/java/org/openstreetmap/josm/plugins/scripting/preferences/RhinoEngineConfigurationPanel.java index f4eee3b6..cea0612d 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/scripting/preferences/RhinoEngineConfigurationPanel.java +++ b/src/main/java/org/openstreetmap/josm/plugins/scripting/preferences/RhinoEngineConfigurationPanel.java @@ -309,7 +309,7 @@ public UpAction() { putValue(Action.SHORT_DESCRIPTION, tr("Move the selected repository up by one position")); putValue(Action.SMALL_ICON, - ImageProvider.get("dialogs", "moveup")); + ImageProvider.get("dialogs", "up")); updateEnabledState(); } @@ -339,7 +339,7 @@ public DownAction() { putValue(Action.SHORT_DESCRIPTION, tr("Move the selected repository down by one position")); putValue(Action.SMALL_ICON, - ImageProvider.get("dialogs", "movedown")); + ImageProvider.get("dialogs", "down")); updateEnabledState(); } @Override From 9fa70365c12f71694ed831a08a7920059ddc1f0d Mon Sep 17 00:00:00 2001 From: Klumbumbus Date: Fri, 14 Aug 2020 23:08:30 +0200 Subject: [PATCH 2/2] Update SysPathsEditorPanel.java --- .../plugins/scripting/preferences/SysPathsEditorPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openstreetmap/josm/plugins/scripting/preferences/SysPathsEditorPanel.java b/src/main/java/org/openstreetmap/josm/plugins/scripting/preferences/SysPathsEditorPanel.java index b41d1b8e..17c37b47 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/scripting/preferences/SysPathsEditorPanel.java +++ b/src/main/java/org/openstreetmap/josm/plugins/scripting/preferences/SysPathsEditorPanel.java @@ -362,7 +362,7 @@ private class UpAction extends AbstractAction implements ListSelectionListener { public UpAction() { putValue(Action.NAME, tr("Up")); putValue(Action.SHORT_DESCRIPTION, tr("Move the selected path up by one position")); - putValue(Action.SMALL_ICON, saveImageGet("dialogs", "moveup")); + putValue(Action.SMALL_ICON, saveImageGet("dialogs", "up")); updateEnabledState(); } @@ -388,7 +388,7 @@ private class DownAction extends AbstractAction implements ListSelectionListener public DownAction() { putValue(Action.NAME, tr("Down")); putValue(Action.SHORT_DESCRIPTION, tr("Move the selected repository down by one position")); - putValue(Action.SMALL_ICON, saveImageGet("dialogs", "movedown")); + putValue(Action.SMALL_ICON, saveImageGet("dialogs", "down")); updateEnabledState(); } @Override