Script-Fu menu path for GIMP 3.0 era
GIMP version: 2.10.12
Operating System: Windows 10 version 1903 x64
Package: Official (gimp-2.10.12-setup.exe) In-Place Upgrade from 2.10.10
Description of the bug
When I started GIMP with verbose option, I found out the message.
(C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\script-fu\script-fu.exe) is installing procedure "script-fu-shiro-high-pass" with a full menu path "/Filters/Enhance/-Sharpen-Soften by High Pass (-Fu)" as menu label, this deprecated and will be an error in GIMP 3.0
Plug-in "script-fu.exe"
In order to write a valid script at GIMP 3.0 era, How must we write code?.
Please teach me.
The menu registering block is as follows.
;;(script-fu-register "high-pass" ;by Shiro
(script-fu-register "script-fu-shiro-high-pass"
"<Image>/Filters/Enhance/-Sharpen-Soften by High Pass (-Fu)"
"Sharpen or Soften by High Pass (Script-Fu Ver.)"
"ShiroYuki_Mot (Original by ...)"
"ShiroYuki_Mot (Original by ...)"
"January 2019"
"RGB* GRAY*"
SF-IMAGE "image" 0
SF-DRAWABLE "drawable" 0
SF-ADJUSTMENT "Filter Radius (px)" '(2.0 0.5 100.0 0.5 2.0 1 0) ; All
SF-OPTION "Method Mode" '("Colour" "* Preserve DC" "Greyscale" "* Greyscale, Apply Chroma" "* Redrobes")
SF-TOGGLE "Keep Original Layer?" TRUE
SF-OPTION "Target Layer Mode" '("GrainMerge" "Overlay" "Normal")
SF-OPTION "Effect" '("Sharpen" "Soften")
SF-ADJUSTMENT "Opacity Only Methods StartWith * (%)" '(10 3 30 1 10 0 0)
)