Ignore:
Timestamp:
2009-11-03T05:32:40+01:00 (13 years ago)
Author:
Gubaer
Message:

see #3834: added context sensitive help?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r2372 r2389  
    22package org.openstreetmap.josm.plugins;
    33
     4import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    56
     
    1314import java.util.Collection;
    1415import java.util.Collections;
    15 import java.util.HashMap;
    1616import java.util.LinkedList;
    1717import java.util.List;
    18 import java.util.Map;
    1918import java.util.SortedMap;
    2019import java.util.TreeMap;
     
    3332
    3433import org.openstreetmap.josm.Main;
    35 import org.openstreetmap.josm.actions.AboutAction;
    3634import org.openstreetmap.josm.data.Version;
    3735import org.openstreetmap.josm.gui.ExtendedDialog;
     
    10199            if(Main.pref.getInteger("pluginmanager.version", 0) < v)
    102100            {
    103                 doUpdate = tr("You updated your JOSM software\nTo prevent problems the plugins should be updated as well.\n"
     101                doUpdate = tr("You updated your JOSM software.\nTo prevent problems the plugins should be updated as well.\n"
    104102                        + "Update plugins now?");
    105103                check = "pluginmanger.version";
     
    128126                dialog.toggleEnable(check);
    129127                dialog.setButtonIcons( new String[] {"dialogs/refresh.png", "cancel.png"});
     128                dialog.configureContextsensitiveHelp(ht("/Plugin/AutomaticUpdate"), true /* show help button */);
    130129                dialog.showDialog();
    131                 if(dialog.getValue() == 1)
     130                if(dialog.getValue() == 1) {
    132131                    new PluginSelection().update();
     132                }
    133133            }
    134134        }
Note: See TracChangeset for help on using the changeset viewer.