RobA wrote:
SaulGoode also suggested at the source link that it be changed to register in the "Edit->Paste As" menu, rather than the base "Edit" menu. You can make that change yourself, if desired.
Actually, my suggestion was that the command be registered in the "Paste" subgroup of the Edit Menu (not the "Paste As" submenu).
This is an as yet undocumented (or at least not-well-documented) feature of 'plug-in-menu-register' (I am currently in the process of creating some documentation for it) which affords greater control of where third-party commands get placed in the menu structure.
For example, I registered my
Edit->Isolate command using
(script-fu-menu-register "script-fu-sg-isolate"
"<Image>/Edit/Cut" )
and that places the command within the "Cut" subgroup of the Edit Menu (PDB-registered commands will appear in alphabetical order after the core GIMP commands in a subgroup).
By default, the "Cut" subgroup comprises just the Edit->Cut command (the next subgroup in the menu is the "Copy" subgroup, though there is no real way of knowing this without examining the GIMP source code)
Attachment:
Cut-placeholder.png [ 19.36 KiB | Viewed 1805 times ]
so my Isolate script -- rather than being placed at the very bottom of the Edit Menu -- will be placed directly after the Cut command.
Attachment:
SSisolate.png [ 30.69 KiB | Viewed 1805 times ]
Similarly, if RobA's "Paste Into Current Selection" were registered as suggested on the Plugin Registry, it would be placed within the Paste subgroup (rather than at the bottom) of the Edit Menu. I am thinking that perhaps with such placement, fine people such as Oregonian will not have so much difficulty locating it.
By default, the Paste
subgroup consists of the two commands shown in the following image (note the distinction from the "Paste As"
submenu):
Attachment:
Paste-placeholder.png [ 18.58 KiB | Viewed 1805 times ]