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

fix shortcut deprecation

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

Legend:

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

    r27678 r27852  
    8686                <attribute name="Plugin-Description" value="Simplifies download from different read-only APIs."/>
    8787                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/mirrored_download"/>
    88                 <attribute name="Plugin-Mainversion" value="4549"/>
     88                <attribute name="Plugin-Mainversion" value="4980"/>
    8989                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    9090            </manifest>
  • applications/editors/josm/plugins/mirrored_download/src/mirrored_download/DownloadAction2.java

    r27843 r27852  
    2929    public DownloadAction2() {
    3030        super(tr("Download from OSM mirror..."), null, tr("Download map data from the OSM server."),
    31                 Shortcut.registerShortcut("mirror:download", tr("File: {0}", tr("Download from OSM mirror...")), KeyEvent.VK_DOWN, Shortcut.GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);
     31                Shortcut.registerShortcut("mirror:download", tr("File: {0}", tr("Download from OSM mirror...")), KeyEvent.VK_DOWN, Shortcut.ALT_SHIFT), true);
    3232        putValue("help", ht("/Action/MirroredDownload"));
    3333    }
  • applications/editors/josm/plugins/mirrored_download/src/mirrored_download/UrlSelectionAction.java

    r27691 r27852  
    2525    public UrlSelectionAction() {
    2626        super(tr("Select URL..."), null, tr("Select URL to download from."),
    27                 Shortcut.registerShortcut("file:selecturl", tr("File: {0}", tr("Select URL...")), KeyEvent.VK_D, Shortcut.GROUPS_ALT1+Shortcut.GROUP_HOTKEY), true);
     27                Shortcut.registerShortcut("file:selecturl", tr("File: {0}", tr("Select URL...")), KeyEvent.VK_D, Shortcut.CTRL_SHIFT), true);
    2828        putValue("help", ht("/Action/SelectUrl"));
    2929    }
Note: See TracChangeset for help on using the changeset viewer.