mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 17:59:37 +00:00
app, libgimp, pdb, plug-ins: add ability to default to context for all resource args.
Also fixes the passing of the resource param definitions through PDB.
There was some weird assumption, with a comment, in commit 73733335c8
that this was unneeded, which meant that we were not able to properly
recreate the right param spec over the wire.
This commit is contained in:
parent
6f8231eee6
commit
75a50ce87b
34 changed files with 452 additions and 148 deletions
|
@ -58,7 +58,7 @@ class PaletteOffset (Gimp.PlugIn):
|
|||
GObject.ParamFlags.READWRITE)
|
||||
procedure.add_palette_argument ("palette", _("_Palette"),
|
||||
_("Palette"), True,
|
||||
None, # Default to context.
|
||||
None, True, # Default to context.
|
||||
GObject.ParamFlags.READWRITE)
|
||||
procedure.add_int_argument ("amount", _("O_ffset"), _("Offset"),
|
||||
1, GLib.MAXINT, 1, GObject.ParamFlags.READWRITE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue