Changeset 7665 in josm for trunk/src


Ignore:
Timestamp:
2014-10-28T21:01:09+01:00 (10 years ago)
Author:
stoecker
Message:

fix #9881 - proper help links

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java

    r7509 r7665  
    22package org.openstreetmap.josm.actions;
    33
     4import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    56
     
    4748        super(info.getMenuName(), /* ICON */"imagery_menu", tr("Add imagery layer {0}",info.getName()), null, false, false);
    4849        putValue("toolbar", "imagery_" + info.getToolbarName());
     50        putValue("help", ht("/Preferences/Imagery"));
    4951        this.info = info;
    5052        installAdapters();
  • trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintMenu.java

    r7602 r7665  
    22package org.openstreetmap.josm.gui.mappaint;
    33
     4import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    56
     
    3839            this.style = style;
    3940            updateButton();
     41            putValue("help", ht("/Dialog/MapPaint"));
    4042        }
    4143
     
    8587        setIcon(ImageProvider.get("dialogs", "mapstyle"));
    8688        MapPaintStyles.addMapPaintSylesUpdateListener(this);
     89        putClientProperty("help", ht("/Dialog/MapPaint"));
    8790    }
    8891
Note: See TracChangeset for help on using the changeset viewer.