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

fix the menu changes in JOSM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.