Index: applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetPlugin.java
===================================================================
--- applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetPlugin.java	(revision 29404)
+++ applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetPlugin.java	(revision 29408)
@@ -2,4 +2,5 @@
 
 import java.awt.event.KeyEvent;
+import java.util.*;
 import javax.swing.JMenu;
 import org.openstreetmap.josm.Main;
@@ -33,4 +34,13 @@
         offsetMenu.add(getAction);
         offsetMenu.add(storeAction);
+
+        // an ugly hack to add this plugin to the toolbar
+        Collection<String> toolbar = new LinkedList<String>(Main.toolbar.getToolString());
+        if( !toolbar.contains("getoffset") && Main.pref.getBoolean("iodb.modify.toolbar", true) ) {
+            toolbar.add("getoffset");
+            Main.pref.putCollection("toolbar", toolbar);
+            Main.pref.put("iodb.modify.toolbar", false);
+            Main.toolbar.refreshToolbarControl();
+        }
     }
 }
