Changeset 3954 in josm
- Timestamp:
- 2011-03-04T23:11:46+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainMenu.java
r3894 r3954 302 302 changesetManagerToggleAction.addButtonModel(mi.getModel()); 303 303 304 // -- fullscreen toggle action 305 FullscreenToggleAction fullscreenToggleAction = new FullscreenToggleAction(); 306 if (fullscreenToggleAction.canFullscreen()) { 307 final JCheckBoxMenuItem fullscreen = new JCheckBoxMenuItem(fullscreenToggleAction); 308 viewMenu.addSeparator(); 309 viewMenu.add(fullscreen); 310 fullscreen.setAccelerator(fullscreenToggleAction.getShortcut().getKeyStroke()); 311 fullscreenToggleAction.addButtonModel(fullscreen.getModel()); 304 if(!Main.applet) { 305 // -- fullscreen toggle action 306 FullscreenToggleAction fullscreenToggleAction = new FullscreenToggleAction(); 307 if (fullscreenToggleAction.canFullscreen()) { 308 final JCheckBoxMenuItem fullscreen = new JCheckBoxMenuItem(fullscreenToggleAction); 309 viewMenu.addSeparator(); 310 viewMenu.add(fullscreen); 311 fullscreen.setAccelerator(fullscreenToggleAction.getShortcut().getKeyStroke()); 312 fullscreenToggleAction.addButtonModel(fullscreen.getModel()); 313 } 312 314 } 313 315 viewMenu.addSeparator();
Note:
See TracChangeset
for help on using the changeset viewer.