I have a tool that works on Pharo packages (RPackages).
To make it accessible i want to add a menu entry to the Nautilus package context menu, so one can open my tool on selected packages from within Nautilus. Is this possible?
I have a tool that works on Pharo packages (RPackages).
To make it accessible i want to add a menu entry to the Nautilus package context menu, so one can open my tool on selected packages from within Nautilus. Is this possible?
Copyright © 2021 Jogjafile Inc.
To add entries to the Nautilus context menus you can use one of the menu pragmas that are defined in the
AbstractNautilusUImenu pragmasprotocol.Just define a class side method with one of the pragmas on any class you desire. For example:
In the case of the Nautilus package menu you obtain the selection via
Use the Finder’s pragma search option to look at examples.
(Thanks to Benjamin Van Ryseghem)