Changeset 33878 in osm for applications/editors
- Timestamp:
- 2017-11-22T00:45:57+01:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/photo_geotagging
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photo_geotagging/build.xml
r32680 r33878 5 5 <property name="commit.message" value=""/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 0580"/>7 <property name="plugin.main.version" value="12840"/> 8 8 9 9 <property name="plugin.author" value="Paul Hartmann"/> -
applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java
r33494 r33878 35 35 import org.openstreetmap.josm.Main; 36 36 import org.openstreetmap.josm.gui.ExtendedDialog; 37 import org.openstreetmap.josm.gui.MainApplication; 37 38 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 38 39 import org.openstreetmap.josm.gui.dialogs.LayerListDialog; … … 44 45 import org.openstreetmap.josm.tools.ImageProvider; 45 46 import org.openstreetmap.josm.tools.JosmRuntimeException; 47 import org.openstreetmap.josm.tools.Logging; 46 48 47 49 /** … … 144 146 final boolean keep_backup = backups.isSelected(); 145 147 final boolean change_mtime = setMTime.isSelected(); 146 Main.pref.put (KEEP_BACKUP, keep_backup);147 Main.pref.put (CHANGE_MTIME, change_mtime);148 Main.pref.putBoolean(KEEP_BACKUP, keep_backup); 149 Main.pref.putBoolean(CHANGE_MTIME, change_mtime); 148 150 if (change_mtime) { 149 151 String mTimeModePref; … … 161 163 } 162 164 163 Main .worker.execute(new GeoTaggingRunnable(images, keep_backup, mTimeMode.getSelectedIndex()));165 MainApplication.worker.execute(new GeoTaggingRunnable(images, keep_backup, mTimeMode.getSelectedIndex())); 164 166 } 165 167 … … 330 332 Files.move(file.toPath(), fileTmp.toPath()); 331 333 } catch (IOException e) { 332 Main.error(tr("Could not rename file {0} to {1}!", file, fileTmp));334 Logging.error(tr("Could not rename file {0} to {1}!", file, fileTmp)); 333 335 throw e; 334 336 }
Note:
See TracChangeset
for help on using the changeset viewer.