In Gimp-3.0.2-1 the plugin does not register in the menu and sys.stderr shows the message:
TypeError: Gimp.Procedure.add_file_argument() takes exactly 8 arguments (5 given)
I fixed it a bit, but the plugin behaves a bit strangely: Watermark Image File window - every time you run it, you have to search for the file again, because it opens with (none).
This line:
procedure.add_file_argument ("file", _("Watermark Image File"),
_("Watermark Imag File"), GObject.ParamFlags.READWRITE)
It was replaced with this:
procedure.add_file_argument ("file", _("Watermark Image File"), _("Watermark Image File"),
Gimp.FileChooserAction.OPEN,
False, None, GObject.ParamFlags.READWRITE)
Is this normal behavior or is there something wrong with the code?
