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

fix shortcut deprecation

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

Legend:

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

    r27806 r27852  
    3232    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3636    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveAction.java

    r27812 r27852  
    3838        super(tr("AutoSave LiveData"), "autosave.png", tr("Save captured data to file every minute."),
    3939        Shortcut.registerShortcut("surveyor:autosave", tr("Tool: {0}", tr("AutoSave LiveData")),
    40         KeyEvent.VK_S, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), true);
     40        KeyEvent.VK_S, Shortcut.ALT_CTRL_SHIFT), true);
    4141    }
    4242
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorShowAction.java

    r16290 r27852  
    4646        super(tr("Surveyor..."), "surveyormenu.png", tr("Open surveyor tool."),
    4747        Shortcut.registerShortcut("surveyor:open", tr("Tool: {0}", tr("Surveyor...")),
    48         KeyEvent.VK_R, Shortcut.GROUP_MENU, Shortcut.SHIFT_DEFAULT), true);
     48        KeyEvent.VK_R, Shortcut.CTRL_SHIFT), true);
    4949        this.gpsPlugin = gpsPlugin;
    5050    }
Note: See TracChangeset for help on using the changeset viewer.