Changeset 2389 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2009-11-03T05:32:40+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r2372 r2389 2 2 package org.openstreetmap.josm.plugins; 3 3 4 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 … … 13 14 import java.util.Collection; 14 15 import java.util.Collections; 15 import java.util.HashMap;16 16 import java.util.LinkedList; 17 17 import java.util.List; 18 import java.util.Map;19 18 import java.util.SortedMap; 20 19 import java.util.TreeMap; … … 33 32 34 33 import org.openstreetmap.josm.Main; 35 import org.openstreetmap.josm.actions.AboutAction;36 34 import org.openstreetmap.josm.data.Version; 37 35 import org.openstreetmap.josm.gui.ExtendedDialog; … … 101 99 if(Main.pref.getInteger("pluginmanager.version", 0) < v) 102 100 { 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" 104 102 + "Update plugins now?"); 105 103 check = "pluginmanger.version"; … … 128 126 dialog.toggleEnable(check); 129 127 dialog.setButtonIcons( new String[] {"dialogs/refresh.png", "cancel.png"}); 128 dialog.configureContextsensitiveHelp(ht("/Plugin/AutomaticUpdate"), true /* show help button */); 130 129 dialog.showDialog(); 131 if(dialog.getValue() == 1) 130 if(dialog.getValue() == 1) { 132 131 new PluginSelection().update(); 132 } 133 133 } 134 134 }
Note:
See TracChangeset
for help on using the changeset viewer.