Changeset 1481 in josm for trunk/src


Ignore:
Timestamp:
2009-03-10T17:43:11+01:00 (16 years ago)
Author:
stoecker
Message:

added reverse no --fullscreen option

File:
1 edited

Legend:

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

    r1415 r1481  
    141141                    "\t--downloadgps=minlat,minlon,maxlat,maxlon "+tr("Download the bounding box as raw gps")+"\n"+
    142142                    "\t--selection=<searchstring>                "+tr("Select with the given search")+"\n"+
    143                     "\t--no-fullscreen                           "+tr("Don't launch in fullscreen mode")+"\n"+
     143                    "\t--[no-]fullscreen                         "+tr("Launch in fullscreen mode")+"\n"+
    144144                    "\t--reset-preferences                       "+tr("Reset the preferences to default")+"\n\n"+
    145145                    "\t--language=<language>                     "+tr("Set the language.")+"\n\n"+
     
    176176        splash.closeSplash();
    177177
    178         if (!args.containsKey("no-fullscreen") && !args.containsKey("geometry") && Main.pref.get("gui.geometry").length() == 0 && Toolkit.getDefaultToolkit().isFrameStateSupported(JFrame.MAXIMIZED_BOTH))
     178        if (((!args.containsKey("no-fullscreen") && !args.containsKey("geometry")
     179        && Main.pref.get("gui.geometry").length() == 0) || args.containsKey("fullscreen"))
     180        && Toolkit.getDefaultToolkit().isFrameStateSupported(JFrame.MAXIMIZED_BOTH))
    179181            mainFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);
    180182
Note: See TracChangeset for help on using the changeset viewer.