mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 07:57:21 +00:00
allow to change the spacing of brushes the user doesn't have write access
2006-01-05 Sven Neumann <sven@gimp.org> * tools/pdbgen/pdb/brush.pdb (gimp-brush-set-spacing): allow to change the spacing of brushes the user doesn't have write access to. The user interface allows to do that as well. * app/pdb/brush_cmds.c: regenerated.
This commit is contained in:
parent
999f58b86f
commit
656e782c63
|
@ -1,3 +1,11 @@
|
||||||
|
2006-01-05 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* tools/pdbgen/pdb/brush.pdb (gimp-brush-set-spacing): allow to
|
||||||
|
change the spacing of brushes the user doesn't have write access
|
||||||
|
to. The user interface allows to do that as well.
|
||||||
|
|
||||||
|
* app/pdb/brush_cmds.c: regenerated.
|
||||||
|
|
||||||
2006-01-04 Michael Natterer <mitch@gimp.org>
|
2006-01-04 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* tools/pdbgen/pdb/context.pdb: fixed docs for gimp-context-push/pop.
|
* tools/pdbgen/pdb/context.pdb: fixed docs for gimp-context-push/pop.
|
||||||
|
|
|
@ -826,7 +826,7 @@ brush_set_spacing_invoker (Gimp *gimp,
|
||||||
brush = (GimpBrush *)
|
brush = (GimpBrush *)
|
||||||
gimp_container_get_child_by_name (gimp->brush_factory->container, name);
|
gimp_container_get_child_by_name (gimp->brush_factory->container, name);
|
||||||
|
|
||||||
if (brush && GIMP_DATA (brush)->writable)
|
if (brush)
|
||||||
gimp_brush_set_spacing (brush, spacing);
|
gimp_brush_set_spacing (brush, spacing);
|
||||||
else
|
else
|
||||||
success = FALSE;
|
success = FALSE;
|
||||||
|
|
|
@ -627,7 +627,7 @@ HELP
|
||||||
brush = (GimpBrush *)
|
brush = (GimpBrush *)
|
||||||
gimp_container_get_child_by_name (gimp->brush_factory->container, name);
|
gimp_container_get_child_by_name (gimp->brush_factory->container, name);
|
||||||
|
|
||||||
if (brush && GIMP_DATA (brush)->writable)
|
if (brush)
|
||||||
gimp_brush_set_spacing (brush, spacing);
|
gimp_brush_set_spacing (brush, spacing);
|
||||||
else
|
else
|
||||||
success = FALSE;
|
success = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue