mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
python: Fix file arguments after 161b3c53
We accidentally missed updating the
Python file parameters after 161b3c53
.
This patch updates the API as well.
This commit is contained in:
parent
e752687321
commit
8db404516e
3 changed files with 6 additions and 3 deletions
|
@ -207,7 +207,8 @@ class GradientsSaveAsCSS (Gimp.PlugIn):
|
|||
None, True, # Default to context.
|
||||
GObject.ParamFlags.READWRITE)
|
||||
procedure.add_file_argument ("file", _("_File"),
|
||||
"", GObject.ParamFlags.READWRITE)
|
||||
"", Gimp.FileChooserAction.SAVE,
|
||||
False, None, GObject.ParamFlags.READWRITE)
|
||||
return procedure
|
||||
|
||||
Gimp.main(GradientsSaveAsCSS.__gtype__, sys.argv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue