Changeset 1496 in josm
- Timestamp:
- 2009-03-17T18:58:04+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r1465 r1496 308 308 } 309 309 if (bounds == null) 310 bounds = !args.containsKey("no- fullscreen") ? new Rectangle(0,0,screenDimension.width,screenDimension.height) : new Rectangle(1000,740);310 bounds = !args.containsKey("no-maximize") ? new Rectangle(0,0,screenDimension.width,screenDimension.height) : new Rectangle(1000,740); 311 311 312 312 // preinitialize a wait dialog for all early downloads (e.g. via command line) -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r1481 r1496 141 141 "\t--downloadgps=minlat,minlon,maxlat,maxlon "+tr("Download the bounding box as raw gps")+"\n"+ 142 142 "\t--selection=<searchstring> "+tr("Select with the given search")+"\n"+ 143 "\t--[no-] fullscreen "+tr("Launch in fullscreenmode")+"\n"+143 "\t--[no-]maximize "+tr("Launch in maximized mode")+"\n"+ 144 144 "\t--reset-preferences "+tr("Reset the preferences to default")+"\n\n"+ 145 145 "\t--language=<language> "+tr("Set the language.")+"\n\n"+ … … 176 176 splash.closeSplash(); 177 177 178 if (((!args.containsKey("no- fullscreen") && !args.containsKey("geometry")179 && Main.pref.get("gui.geometry").length() == 0) || args.containsKey(" fullscreen"))178 if (((!args.containsKey("no-maximize") && !args.containsKey("geometry") 179 && Main.pref.get("gui.geometry").length() == 0) || args.containsKey("maximize")) 180 180 && Toolkit.getDefaultToolkit().isFrameStateSupported(JFrame.MAXIMIZED_BOTH)) 181 181 mainFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);
Note:
See TracChangeset
for help on using the changeset viewer.