Ticket #1910: josm-help-displaymotd.patch

File josm-help-displaymotd.patch, 641 bytes (added by avarab@…, 17 years ago)

Patch that adds a `help.displaymotd' preference allowing the user to turn the wiki-fetch off

  • src/org/openstreetmap/josm/gui/GettingStarted.java

     
    4242    }
    4343
    4444    private void assignContent() {
    45         if (content.length() == 0) {
     45        if (content.length() == 0 && Main.pref.getBoolean("help.displaymotd", true)) {
    4646            String baseurl = Main.pref.get("help.baseurl", "http://josm.openstreetmap.de");
    4747            WikiReader wr = new WikiReader(baseurl);
    4848            String motdcontent = "";