Ignore:
Timestamp:
2012-02-18T13:40:52+01:00 (13 years ago)
Author:
stoecker
Message:

fix shortcut deprecation

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

Legend:

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

    r27819 r27852  
    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="4961"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/actions/ExportSigsAction.java

    r27819 r27852  
    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_X, Shortcut.GROUPS_ALT2+Shortcut.GROUP_MENU));
     19                                Shortcut.registerShortcut("file:exportsigs", tr("Export sigs to XML..."), KeyEvent.VK_X, Shortcut.ALT_CTRL));
    2020        }
    2121
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/actions/GetMissingDataAction.java

    r25785 r27852  
    2323        public GetMissingDataAction() {
    2424                super(tr("Download OSM"),"getmissing",tr("Get all referenced but not actually present OSM objects from OSM server."),
    25                                 Shortcut.registerShortcut("gpg:download", tr("Download referenced osm objects..."), KeyEvent.VK_T, Shortcut.GROUP_MENU),true);
     25                                Shortcut.registerShortcut("gpg:download", tr("Download referenced osm objects..."), KeyEvent.VK_T, Shortcut.CTRL),true);
    2626        }
    2727
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/gui/dialogs/TrustDialog.java

    r27819 r27852  
    187187                super(tr("Object signatures"), "trustosm", tr("Open object signing window."),
    188188                                Shortcut.registerShortcut("subwindow:trustosm", tr("Toggle: {0}", tr("Object signatures")),
    189                                                 KeyEvent.VK_T, Shortcut.GROUPS_ALT2+Shortcut.GROUP_DIRECT2), 150);
     189                                                KeyEvent.VK_T, Shortcut.ALT_CTRL), 150);
    190190
    191191                Main.map.mapView.addTemporaryLayer(this);
Note: See TracChangeset for help on using the changeset viewer.