Index: /applications/editors/josm/plugins/irsrectify/build.xml
===================================================================
--- /applications/editors/josm/plugins/irsrectify/build.xml	(revision 33845)
+++ /applications/editors/josm/plugins/irsrectify/build.xml	(revision 33846)
@@ -5,5 +5,5 @@
     <property name="commit.message" value="irsrectify shortcut conflict"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="10580"/>
+    <property name="plugin.main.version" value="12743"/>
 
     <!-- Configure these properties (replace "..." accordingly).
Index: /applications/editors/josm/plugins/irsrectify/src/irsrectify/IRSRectifyPlugin.java
===================================================================
--- /applications/editors/josm/plugins/irsrectify/src/irsrectify/IRSRectifyPlugin.java	(revision 33845)
+++ /applications/editors/josm/plugins/irsrectify/src/irsrectify/IRSRectifyPlugin.java	(revision 33846)
@@ -15,5 +15,6 @@
 import org.openstreetmap.josm.data.osm.Node;
 import org.openstreetmap.josm.data.osm.Way;
-import org.openstreetmap.josm.gui.JosmUserIdentityManager;
+import org.openstreetmap.josm.data.UserIdentityManager;
+import org.openstreetmap.josm.gui.MainApplication;
 import org.openstreetmap.josm.gui.MapFrame;
 import org.openstreetmap.josm.gui.layer.ImageryLayer;
@@ -31,5 +32,5 @@
     public IRSRectifyPlugin(PluginInformation info) {
         super(info);
-        Main.main.menu.toolsMenu.add(new IRSRectifyAction());
+        MainApplication.getMenu().toolsMenu.add(new IRSRectifyAction());
     }
 
@@ -65,5 +66,5 @@
             way.addNode(offset);
             way.put("timestamp", new SimpleDateFormat("yyyy-MM-dd").format(new Date()));
-            String userName = JosmUserIdentityManager.getInstance().getUserName();
+            String userName = UserIdentityManager.getInstance().getUserName();
             if( userName != null )
                 way.put("user", userName);
@@ -74,5 +75,5 @@
             data.data.addPrimitive(way);
             data.data.setSelected(way.getPrimitiveId());
-            Main.getLayerManager().setActiveLayer(data);
+            MainApplication.getLayerManager().setActiveLayer(data);
         }
 
@@ -80,5 +81,5 @@
             if( frame == null || frame.mapView == null )
                 return null;
-            for( Layer l : Main.getLayerManager().getLayers() )
+            for( Layer l : MainApplication.getLayerManager().getLayers() )
                 if( l instanceof ImageryLayer )
                     return (ImageryLayer)l;
@@ -90,10 +91,10 @@
                 return null;
 
-            OsmDataLayer l = Main.getLayerManager().getEditLayer();
+            OsmDataLayer l = MainApplication.getLayerManager().getEditLayer();
             if( isOffsetLayer(l) )
                 return l;
 
             // try to find among all layers
-            for( Layer layer : Main.getLayerManager().getLayers() )
+            for( Layer layer : MainApplication.getLayerManager().getLayers() )
                 if( layer instanceof OsmDataLayer && isOffsetLayer((OsmDataLayer)layer) )
                     return (OsmDataLayer) layer;
@@ -104,5 +105,5 @@
                 name = name + " " + newLayerNameCounter;
             l = new OsmDataLayer(new DataSet(), name, null);
-            Main.getLayerManager().addLayer(l);
+            MainApplication.getLayerManager().addLayer(l);
             return l;
         }
