Changeset 17032 in josm


Ignore:
Timestamp:
2020-09-16T14:51:39+02:00 (4 days ago)
Author:
Klumbumbus
Message:

Add missing icons in Tags/Membership Dialog context menu, fix icons of HelpAction and SelectInRelationListAction

Location:
trunk/src/org/openstreetmap/josm
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/relation/SelectInRelationListAction.java

    r13130 r17032  
    2222        putValue(NAME, tr("Select in relation list"));
    2323        putValue(SHORT_DESCRIPTION, tr("Select relation in relation list."));
    24         new ImageProvider("dialogs", "selectionlist").getResource().attachImageIcon(this, true);
     24        new ImageProvider("dialogs", "relationlist").getResource().attachImageIcon(this, true);
    2525    }
    2626
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/CopyAllKeyValueAction.java

    r17007 r17032  
    1616import org.openstreetmap.josm.gui.MainApplication;
    1717import org.openstreetmap.josm.tools.Shortcut;
     18import org.openstreetmap.josm.tools.ImageProvider;
    1819
    1920/**
     
    3334        putValue(NAME, tr("Copy all Keys/Values"));
    3435        putValue(SHORT_DESCRIPTION, tr("Copy the key and value of all the tags to clipboard"));
     36        new ImageProvider("copy").getResource().attachImageIcon(this, true);
    3537    }
    3638
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/CopyKeyValueAction.java

    r16076 r17032  
    1616import org.openstreetmap.josm.data.osm.Tag;
    1717import org.openstreetmap.josm.data.osm.Tagged;
     18import org.openstreetmap.josm.tools.ImageProvider;
    1819
    1920/**
     
    3334        setName(0);
    3435        putValue(SHORT_DESCRIPTION, tr("Copy the key and value of the selected tags to clipboard"));
     36        new ImageProvider("copy").getResource().attachImageIcon(this, true);
    3537    }
    3638
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/CopyValueAction.java

    r13849 r17032  
    1212
    1313import org.openstreetmap.josm.data.osm.Tagged;
     14import org.openstreetmap.josm.tools.ImageProvider;
    1415
    1516/**
     
    2930        putValue(NAME, tr("Copy Value"));
    3031        putValue(SHORT_DESCRIPTION, tr("Copy the value of the selected tag to clipboard"));
     32        new ImageProvider("copy").getResource().attachImageIcon(this, true);
    3133    }
    3234
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/HelpAction.java

    r16553 r17032  
    3737    protected HelpAction() {
    3838        putValue(SHORT_DESCRIPTION, tr("Launch browser with wiki help for selected object"));
    39         new ImageProvider("dialogs", "search").getResource().attachImageIcon(this, true);
     39        new ImageProvider("help", "internet").getResource().attachImageIcon(this, true);
    4040        putValue(ACCELERATOR_KEY, getKeyStroke());
    4141    }
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r17007 r17032  
    113113import org.openstreetmap.josm.tools.AlphanumComparator;
    114114import org.openstreetmap.josm.tools.GBC;
     115import org.openstreetmap.josm.tools.ImageProvider;
    115116import org.openstreetmap.josm.tools.InputMapUtils;
    116117import org.openstreetmap.josm.tools.Logging;
     
    12701271            putValue(NAME, tr("Paste Value"));
    12711272            putValue(SHORT_DESCRIPTION, tr("Paste the value of the selected tag from clipboard"));
     1273            new ImageProvider("paste").getResource().attachImageIcon(this, true);
    12721274        }
    12731275
     
    12931295                putValue(NAME, tr("Search Key/Value/Type"));
    12941296                putValue(SHORT_DESCRIPTION, tr("Search with the key and value of the selected tag, restrict to type (i.e., node/way/relation)"));
     1297                new ImageProvider("dialogs/search").getResource().attachImageIcon(this, true);
    12951298            } else {
    12961299                putValue(NAME, tr("Search Key/Value"));
    12971300                putValue(SHORT_DESCRIPTION, tr("Search with the key and value of the selected tag"));
     1301                new ImageProvider("dialogs/search").getResource().attachImageIcon(this, true);
    12981302            }
    12991303        }
Note: See TracChangeset for help on using the changeset viewer.