Changeset 33878 in osm for applications/editors


Ignore:
Timestamp:
2017-11-22T00:45:57+01:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 12840

Location:
applications/editors/josm/plugins/photo_geotagging
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/photo_geotagging/build.xml

    r32680 r33878  
    55    <property name="commit.message" value=""/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="10580"/>
     7    <property name="plugin.main.version" value="12840"/>
    88
    99    <property name="plugin.author" value="Paul Hartmann"/>
  • applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java

    r33494 r33878  
    3535import org.openstreetmap.josm.Main;
    3636import org.openstreetmap.josm.gui.ExtendedDialog;
     37import org.openstreetmap.josm.gui.MainApplication;
    3738import org.openstreetmap.josm.gui.PleaseWaitRunnable;
    3839import org.openstreetmap.josm.gui.dialogs.LayerListDialog;
     
    4445import org.openstreetmap.josm.tools.ImageProvider;
    4546import org.openstreetmap.josm.tools.JosmRuntimeException;
     47import org.openstreetmap.josm.tools.Logging;
    4648
    4749/**
     
    144146        final boolean keep_backup = backups.isSelected();
    145147        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);
    148150        if (change_mtime) {
    149151            String mTimeModePref;
     
    161163        }
    162164
    163         Main.worker.execute(new GeoTaggingRunnable(images, keep_backup, mTimeMode.getSelectedIndex()));
     165        MainApplication.worker.execute(new GeoTaggingRunnable(images, keep_backup, mTimeMode.getSelectedIndex()));
    164166    }
    165167
     
    330332                Files.move(file.toPath(), fileTmp.toPath());
    331333            } 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));
    333335                throw e;
    334336            }
Note: See TracChangeset for help on using the changeset viewer.