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

fix shortcut deprecation

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

Legend:

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

    r27830 r27852  
    2727<project name="livegps" default="dist" basedir=".">
    2828    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4928"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsDialog.java

    r27830 r27852  
    4545        super(tr("Live GPS"), "livegps", tr("Show GPS data."),
    4646        Shortcut.registerShortcut("subwindow:livegps", tr("Toggle: {0}", tr("Live GPS")),
    47         KeyEvent.VK_G, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), 100);
     47        KeyEvent.VK_G, Shortcut.ALT_CTRL_SHIFT), 100);
    4848        panel = new JPanel();
    4949        panel.setLayout(new GridLayout(6,2));
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java

    r26217 r27852  
    4949                    Shortcut.registerShortcut("menu:livegps:capture", tr(
    5050                            "Menu: {0}", tr("Capture GPS Track")),
    51                             KeyEvent.VK_R, Shortcut.GROUP_MENU), true);
     51                            KeyEvent.VK_R, Shortcut.CTRL), true);
    5252        }
    5353
     
    6363                    Shortcut.registerShortcut("edit:centergps", tr("Edit: {0}",
    6464                            tr("Center Once")), KeyEvent.VK_HOME,
    65                             Shortcut.GROUP_EDIT), true);
     65                            Shortcut.DIRECT), true);
    6666        }
    6767
     
    8181                    Shortcut.registerShortcut("menu:livegps:autocenter", tr(
    8282                            "Menu: {0}", tr("Capture GPS Track")),
    83                             KeyEvent.VK_HOME, Shortcut.GROUP_MENU), true);
     83                            KeyEvent.VK_HOME, Shortcut.CTRL), true);
    8484        }
    8585
Note: See TracChangeset for help on using the changeset viewer.