mirror of https://github.com/GNOME/gimp.git
plug-ins: Update Python plug-ins after 6d36d143
A new parameter was added to indicate if it was okay to run without setting these resource values.
This commit is contained in:
parent
8e6fb3d0e4
commit
ba79fd00d3
|
@ -203,7 +203,7 @@ class GradientsSaveAsCSS (Gimp.PlugIn):
|
||||||
Gimp.RunMode.NONINTERACTIVE,
|
Gimp.RunMode.NONINTERACTIVE,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_gradient_argument ("gradient", _("_Gradient to use"),
|
procedure.add_gradient_argument ("gradient", _("_Gradient to use"),
|
||||||
"", GObject.ParamFlags.READWRITE)
|
"", False, GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_file_argument ("file", _("_File"),
|
procedure.add_file_argument ("file", _("_File"),
|
||||||
"", GObject.ParamFlags.READWRITE)
|
"", GObject.ParamFlags.READWRITE)
|
||||||
return procedure
|
return procedure
|
||||||
|
|
|
@ -57,7 +57,7 @@ class PaletteOffset (Gimp.PlugIn):
|
||||||
Gimp.RunMode.NONINTERACTIVE,
|
Gimp.RunMode.NONINTERACTIVE,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_palette_argument ("palette", _("_Palette"),
|
procedure.add_palette_argument ("palette", _("_Palette"),
|
||||||
_("Palette"),
|
_("Palette"), False,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_int_argument ("amount", _("O_ffset"), _("Offset"),
|
procedure.add_int_argument ("amount", _("O_ffset"), _("Offset"),
|
||||||
1, GLib.MAXINT, 1, GObject.ParamFlags.READWRITE)
|
1, GLib.MAXINT, 1, GObject.ParamFlags.READWRITE)
|
||||||
|
|
|
@ -356,7 +356,7 @@ class PaletteSort (Gimp.PlugIn):
|
||||||
Gimp.RunMode.INTERACTIVE,
|
Gimp.RunMode.INTERACTIVE,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_palette_argument ("palette", _("_Palette"),
|
procedure.add_palette_argument ("palette", _("_Palette"),
|
||||||
_("Palette"),
|
_("Palette"), False,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
|
|
||||||
selection_choice = Gimp.Choice.new()
|
selection_choice = Gimp.Choice.new()
|
||||||
|
|
|
@ -145,7 +145,7 @@ class PaletteToGradient (Gimp.PlugIn):
|
||||||
Gimp.RunMode.NONINTERACTIVE,
|
Gimp.RunMode.NONINTERACTIVE,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_palette_argument ("palette", _("_Palette"),
|
procedure.add_palette_argument ("palette", _("_Palette"),
|
||||||
_("Palette"),
|
_("Palette"), False,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_gradient_return_value ("new-gradient", _("The newly created gradient"),
|
procedure.add_gradient_return_value ("new-gradient", _("The newly created gradient"),
|
||||||
_("The newly created gradient"),
|
_("The newly created gradient"),
|
||||||
|
|
|
@ -152,18 +152,18 @@ class TestDialogPlugin (Gimp.PlugIn):
|
||||||
# Top level menu "Test"
|
# Top level menu "Test"
|
||||||
procedure.add_menu_path ("<Image>/Filters/Development/Demos")
|
procedure.add_menu_path ("<Image>/Filters/Development/Demos")
|
||||||
|
|
||||||
procedure.add_brush_argument ("brush", "_Brush", "Brush",
|
procedure.add_brush_argument ("brush", "_Brush", "Brush", True,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_font_argument ("font", "_Font", "Font",
|
procedure.add_font_argument ("font", "_Font", "Font", True,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_gradient_argument ("gradient", "_Gradient",
|
procedure.add_gradient_argument ("gradient", "_Gradient",
|
||||||
"Gradient",
|
"Gradient", True,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_palette_argument ("palette", "_Palette",
|
procedure.add_palette_argument ("palette", "_Palette",
|
||||||
"Palette",
|
"Palette", True,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
procedure.add_pattern_argument ("pattern", "Pa_ttern",
|
procedure.add_pattern_argument ("pattern", "Pa_ttern",
|
||||||
"Pattern",
|
"Pattern", True,
|
||||||
GObject.ParamFlags.READWRITE)
|
GObject.ParamFlags.READWRITE)
|
||||||
|
|
||||||
return procedure
|
return procedure
|
||||||
|
|
Loading…
Reference in New Issue