Changeset 27819 in osm for applications/editors


Ignore:
Timestamp:
2012-02-17T10:18:51+01:00 (13 years ago)
Author:
akks
Message:

fix 2/3 shortcut conflict and compile error in TrustOsm

Location:
applications/editors/josm/plugins/trustosm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/trustosm/build.xml

    r26990 r27819  
    3232    <property name="commit.message" value="New plugin for digital signing osm data"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4549"/>
     34    <property name="plugin.main.version" value="4961"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/actions/ExportSigsAction.java

    r24389 r27819  
    1717        public ExportSigsAction() {
    1818                super(tr("Export sigs..."), "exportsigs", tr("Export all signatures to XML file."),
    19                                 Shortcut.registerShortcut("file:exportsigs", tr("Export sigs to XML..."), KeyEvent.VK_E, Shortcut.GROUP_MENU));
     19                                Shortcut.registerShortcut("file:exportsigs", tr("Export sigs to XML..."), KeyEvent.VK_X, Shortcut.GROUPS_ALT2+Shortcut.GROUP_MENU));
    2020        }
    2121
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/gui/dialogs/TrustDialog.java

    r27465 r27819  
    1818import java.awt.event.KeyEvent;
    1919import java.awt.geom.GeneralPath;
     20import java.util.Arrays;
    2021import java.util.ArrayList;
    2122import java.util.Collection;
     
    186187                super(tr("Object signatures"), "trustosm", tr("Open object signing window."),
    187188                                Shortcut.registerShortcut("subwindow:trustosm", tr("Toggle: {0}", tr("Object signatures")),
    188                                                 KeyEvent.VK_T, Shortcut.GROUP_LAYER, Shortcut.SHIFT_DEFAULT), 150);
     189                                                KeyEvent.VK_T, Shortcut.GROUPS_ALT2+Shortcut.GROUP_DIRECT2), 150);
    189190
    190191                Main.map.mapView.addTemporaryLayer(this);
Note: See TracChangeset for help on using the changeset viewer.