diff --git a/__init__.py b/__init__.py index 28b9d97..f066f44 100644 --- a/__init__.py +++ b/__init__.py @@ -22,7 +22,11 @@ class PlaceFootprints(pcbnew.ActionPlugin): def defaults(self): self.name = "Place Footprints" self.category = "Place Footprints" - self.description = "Places selected footprints either by reference or by sheet in different configurations (linear, circular, matrix)" + self.description = "place selected footprints or footprints from multiple sheets " \ + "in linear, circular or matrix arrangement" + self.icon_file_name = os.path.join(os.path.dirname(__file__), 'place_footprints_light.png') + self.dark_icon_file_name = os.path.join(os.path.dirname(__file__), 'place_footprints_dark.png') + self.show_toolbar_button = True def Run(self): caption = self.name diff --git a/action_place_footprints.py b/action_place_footprints.py index a77979b..260665e 100644 --- a/action_place_footprints.py +++ b/action_place_footprints.py @@ -355,10 +355,10 @@ def __init__(self): self.category = "Place Footprints" self.description = "place selected footprints or footprints from multiple sheets " \ "in linear, circular or matrix arrangement" - self.icon_file_name = os.path.join( - os.path.dirname(__file__), 'place_footprints_light.png') - self.dark_icon_file_name = os.path.join( - os.path.dirname(__file__), 'place_footprints_dark.png') + + self.icon_file_name = os.path.join(os.path.dirname(__file__), 'place_footprints_light.png') + self.dark_icon_file_name = os.path.join(os.path.dirname(__file__), 'place_footprints_dark.png') + self.show_toolbar_button = True self.debug_level = logging.INFO