Ignore:
Timestamp:
2009-03-18T15:55:16+01:00 (17 years ago)
Author:
stoecker
Message:

fix the menu changes in JOSM

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

Legend:

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

    r14015 r14120  
    2626                <attribute name="Plugin-Description" value="Support live GPS input (moving dot) through a connection to gpsd server."/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/LiveGPS"/>
    28                 <attribute name="Plugin-Mainversion" value="1465"/>
     28                <attribute name="Plugin-Mainversion" value="1498"/>
    2929                <attribute name="Plugin-Stage" value="50"/>
    3030                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java

    r14057 r14120  
    11package livegps;
    22
     3import static org.openstreetmap.josm.tools.I18n.marktr;
    34import static org.openstreetmap.josm.tools.I18n.tr;
    45
     
    1112import javax.swing.JCheckBoxMenuItem;
    1213import javax.swing.JMenu;
    13 import javax.swing.JMenuBar;
    1414import javax.swing.JMenuItem;
    1515
     
    8080    {
    8181        MainMenu menu = Main.main.menu;
    82         lgpsmenu = new JMenu(tr("LiveGPS"));
    83         menu.add(lgpsmenu, KeyEvent.VK_G, "livegps");
    84         menu.add(lgpsmenu, 5);
     82        lgpsmenu = menu.addMenu(marktr("LiveGPS"), KeyEvent.VK_G, menu.defaultMenuPos);
    8583
    8684        JosmAction captureAction = new CaptureAction();
Note: See TracChangeset for help on using the changeset viewer.