Changeset 30808 in osm for applications/editors


Ignore:
Timestamp:
2014-11-18T23:13:41+01:00 (10 years ago)
Author:
donvip
Message:

[josm_imagery_offset_db] see #josm10684 - remove hardcoded icon sizes

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

Legend:

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

    r30416 r30808  
    55    <property name="commit.message" value="Imagery Offset Database"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="7001"/>
     7    <property name="plugin.main.version" value="7687"/>
    88
    99    <property name="plugin.author" value="Ilya Zverev"/>
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/GetImageryOffsetAction.java

    r30701 r30808  
    3838                Shortcut.registerShortcut("imageryoffset:get", tr("Imagery: {0}", tr("Get Imagery Offset...")),
    3939                KeyEvent.VK_I, Shortcut.ALT_CTRL), true);
    40         iconOffsetOk = ImageProvider.get("getoffset");
    41         iconOffsetBad = ImageProvider.get("getoffsetnow");
     40        iconOffsetOk = new ImageProvider("getoffset").setSize(ImageProvider.ImageSizes.MENU).get();
     41        iconOffsetBad = new ImageProvider("getoffsetnow").setSize(ImageProvider.ImageSizes.MENU).get();
    4242        ImageryOffsetWatcher.getInstance().register(this);
    4343    }
Note: See TracChangeset for help on using the changeset viewer.