Changeset 1416 in josm


Ignore:
Timestamp:
Feb 16, 2009 3:21:17 PM (4 years ago)
Author:
stoecker
Message:

close #2160. patch by xeen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r1415 r1416  
    77import java.awt.event.ActionEvent; 
    88import java.awt.event.ActionListener; 
     9import java.awt.event.KeyEvent; 
    910 
    1011import javax.swing.JCheckBoxMenuItem; 
     
    1314import javax.swing.JMenuItem; 
    1415import javax.swing.KeyStroke; 
    15 import java.awt.event.KeyEvent; 
    1616 
    1717import org.openstreetmap.josm.Main; 
     
    2020import org.openstreetmap.josm.actions.AlignInCircleAction; 
    2121import org.openstreetmap.josm.actions.AlignInLineAction; 
    22 import org.openstreetmap.josm.actions.OpenLocationAction; 
    23 import org.openstreetmap.josm.actions.OrthogonalizeAction; 
    2422import org.openstreetmap.josm.actions.AutoScaleAction; 
    2523import org.openstreetmap.josm.actions.CombineWayAction; 
     
    3937import org.openstreetmap.josm.actions.NewAction; 
    4038import org.openstreetmap.josm.actions.OpenFileAction; 
     39import org.openstreetmap.josm.actions.OpenLocationAction; 
     40import org.openstreetmap.josm.actions.OrthogonalizeAction; 
    4141import org.openstreetmap.josm.actions.PasteAction; 
    4242import org.openstreetmap.josm.actions.PasteTagsAction; 
     
    4747import org.openstreetmap.josm.actions.SaveAsAction; 
    4848import org.openstreetmap.josm.actions.SelectAllAction; 
     49import org.openstreetmap.josm.actions.ShowStatusReportAction; 
    4950import org.openstreetmap.josm.actions.SplitWayAction; 
     51import org.openstreetmap.josm.actions.ToggleGPXLinesAction; 
    5052import org.openstreetmap.josm.actions.UnGlueAction; 
    5153import org.openstreetmap.josm.actions.UndoAction; 
     
    6264import org.openstreetmap.josm.actions.audio.AudioSlowerAction; 
    6365import org.openstreetmap.josm.actions.search.SearchAction; 
    64 import org.openstreetmap.josm.actions.ToggleGPXLinesAction; 
    6566import org.openstreetmap.josm.tools.Shortcut; 
    6667 
     
    130131    public final HelpAction help = new HelpAction(); 
    131132    public final JosmAction about = new AboutAction(); 
     133    public final JosmAction statusreport = new ShowStatusReportAction(); 
    132134 
    133135    public final JMenu fileMenu = new JMenu(tr("File")); 
     
    267269        }); 
    268270        helpMenu.add(check);*/ 
    269         current = helpMenu.add(help); // why is help not a JosmAction? 
     271         
     272        helpMenu.add(statusreport); 
     273         
     274        current = helpMenu.add(help); // FIXME why is help not a JosmAction? 
    270275        current.setAccelerator(Shortcut.registerShortcut("system:help", tr("Help"), KeyEvent.VK_F1, 
    271276                Shortcut.GROUP_DIRECT).getKeyStroke()); 
Note: See TracChangeset for help on using the changeset viewer.