- Timestamp:
- 2007-10-07T19:52:59+02:00 (17 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r301 r350 238 238 Main.plugins.add(info.load(klass)); 239 239 } 240 } catch ( PluginExceptione) {240 } catch (Throwable e) { 241 241 e.printStackTrace(); 242 242 if (early) 243 System.out.println("Could not load plugin: "+info.name ); // do not translate243 System.out.println("Could not load plugin: "+info.name+" - deleted from preferences"); // do not translate 244 244 else 245 JOptionPane.showMessageDialog(Main.parent, tr("Could not load plugin {0}.", info.name)); 245 JOptionPane.showMessageDialog(Main.parent, tr("Could not load plugin {0}. Deleted from preferences.", info.name)); 246 plugins.remove(info.name); 247 String plist = null; 248 for (String pn : plugins) { 249 if (plist==null) plist=""; else plist=plist+","; 250 plist=plist+pn; 251 } 252 Main.pref.put("plugins", plist); 246 253 } 247 254 } -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r345 r350 112 112 Main.pref.resetToDefault(); 113 113 } 114 115 if (!Main.pref.getBoolean("plugins-0.5", false)) {116 Main.pref.put("plugins", null);117 Main.pref.put("plugins-0.5", "true");118 System.out.println("disabled plugins setting. re-enable the plugins you need.");119 }120 114 121 115 // load the early plugins
Note:
See TracChangeset
for help on using the changeset viewer.