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

fix shortcut deprecation

Location:
applications/editors/josm/plugins/infomode
Files:
2 edited

Legend:

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

    r27557 r27852  
    3232    <property name="commit.message" value="InfoMode : for shortcurt parser"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4667"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!-- should not be necessary to change the following properties -->
    3636    <property name="josm" location="../../core/dist/josm-custom.jar"/>
  • applications/editors/josm/plugins/infomode/src/org/openstreetmap/josm/plugins/infomode/InfoMode.java

    r27591 r27852  
    5959    InfoMode(MapFrame mapFrame) {
    6060        super(tr("InfoMode"), "infomode.png", tr("GPX info mode"),
    61                 Shortcut.registerShortcut("mapmode:infomode", tr("Mode: {0}", tr("GPX info mode")), KeyEvent.VK_BACK_SLASH, Shortcut.GROUP_EDIT), mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
     61                Shortcut.registerShortcut("mapmode:infomode", tr("Mode: {0}", tr("GPX info mode")), KeyEvent.VK_BACK_SLASH, Shortcut.DIRECT), mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    6262        infoPanel=new InfoPanel();
    6363       
Note: See TracChangeset for help on using the changeset viewer.