Changeset 19050 in josm for trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
- Timestamp:
- 2024-04-22T20:59:26+02:00 (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r18833 r19050 501 501 // 502 502 String policy = Config.getPref().get(togglePreferenceKey, "ask").trim().toLowerCase(Locale.ENGLISH); 503 switch (policy) {503 switch (policy) { 504 504 case "never": 505 505 if ("pluginmanager.version-based-update.policy".equals(togglePreferenceKey)) { … … 552 552 553 553 if (pnlMessage.isRememberDecision()) { 554 switch (ret) {554 switch (ret) { 555 555 case 0: 556 556 Config.getPref().put(togglePreferenceKey, "always"); … … 1644 1644 + (!Utils.isEmpty(info.localversion) ? " Version: " + info.localversion : ""); 1645 1645 pluginTab.add(new JLabel(name), GBC.std()); 1646 pluginTab.add(Box.createHorizontalGlue(), GBC.std().fill(G BC.HORIZONTAL));1646 pluginTab.add(Box.createHorizontalGlue(), GBC.std().fill(GridBagConstraints.HORIZONTAL)); 1647 1647 pluginTab.add(new JButton(new PluginInformationAction(info)), GBC.eol()); 1648 1648 … … 1657 1657 description.setCaretPosition(0); 1658 1658 1659 pluginTab.add(description, GBC.eop().fill(G BC.HORIZONTAL));1659 pluginTab.add(description, GBC.eop().fill(GridBagConstraints.HORIZONTAL)); 1660 1660 } 1661 1661 return pluginTab;
Note:
See TracChangeset
for help on using the changeset viewer.