Changeset 610 in josm for trunk


Ignore:
Timestamp:
2008-04-18T00:20:12+02:00 (17 years ago)
Author:
framm
Message:
  • fix "getting started" screen for low resolutions
  • fix incompatibility with validator plugin
Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java

    r608 r610  
    245245                }
    246246        }
     247       
     248        /**
     249         * Provided for backwards compatibility only.
     250         * FIXME: remove this once not used by plugins any longer.
     251         */
     252        public static Color getPreferencesColor(String name, Color dflt) {
     253                return Preferences.getPreferencesColor(name, dflt);
     254        }
    247255}
  • trunk/src/org/openstreetmap/josm/gui/GettingStarted.java

    r608 r610  
    5050               
    5151                panel.add(new JLabel(tr("<html><h2>You are running the latest JOSM version with some geometry extensions.</h2>" +
    52                 "<h3>New elements in the status bar will inform you about the orientation and size<br>" +
    53                 "of the object being drawn. There is a new \"extrude\" mode that you can use to create<br>" +
    54                 "rectangular shapes (see below for a short video on this).</h3>" +
     52                "<h3>New elements in the status bar will inform you about the orientation and size of the object<br />" +
     53                "being drawn. There is a new \"extrude\" mode that you can use to create rectangular shapes.</h3>" +
    5554                "<h3>There is also a new option in the tools menu that will make existing shapes into proper<br>" +
    56                 "rectangles. Note that all this is dependend on the projection you're using; you must use<br>"+
     55                "rectangles. Note that all this is dependent on the projection you're using; you must use<br>"+
    5756                "a projection in which rectangles look rectangular and not skewed. Try it out.</h3>"+
    5857                "<h3>If you dislike the helper line dangling from the mouse cursor, set the \"draw.helper-line\"<br>"+
     
    7372        */
    7473               
    75                 addLine("wiki", tr("Read the [Wiki page on API 0.5]"));
    7674                addLine("extrudevideo", tr("Short (sound-less) [video] demonstrating the new \"extrude\" feature"));
    7775
     
    118116                else if (e.getActionCommand().equals("audio"))
    119117                        OpenBrowser.displayUrl("http://josm.openstreetmap.de/wiki/Help/HowTo/AudioMapping");
    120                 else if (e.getActionCommand().equals("wiki"))
    121                         OpenBrowser.displayUrl("http://wiki.openstreetmap.org/index.php?title=OSM_Protocol_Version_0.5");
    122118                else if (e.getActionCommand().equals("tutorial"))
    123119                        OpenBrowser.displayUrl("http://josm.openstreetmap.de/wiki/TutorialVideos");
Note: See TracChangeset for help on using the changeset viewer.