plug-ins: forgotten Python plug-ins had to be ported to new Gimp.Procedure.new().

There was also one case of port to updated GimpResource API to get the name of a
palette.
This commit is contained in:
Jehan 2023-06-16 23:36:11 +02:00
parent 2b38a2df86
commit 3806b46fc5
5 changed files with 37 additions and 80 deletions

View file

@ -41,7 +41,7 @@ PROC_NAME = 'python-fu-console'
RESPONSE_BROWSE, RESPONSE_CLEAR, RESPONSE_SAVE = range(3)
def run(procedure, args, data):
def run(procedure, config, data):
GimpUi.init ("python-console.py")
namespace = {'__builtins__': __builtins__,