mirror of https://github.com/GNOME/gimp.git
app: also special-case "undo-size" when generating default docs
and hardcode it to "1g", so properties of the dist machine don't leak into the tarball.
This commit is contained in:
parent
92c59316e1
commit
68c774daab
|
@ -171,6 +171,12 @@ dump_gimprc_system (GimpConfig *rc,
|
|||
gimp_config_writer_printf (writer, "2g");
|
||||
gimp_config_writer_close (writer);
|
||||
}
|
||||
else if (! strcmp (prop_spec->name, "undo-size"))
|
||||
{
|
||||
gimp_config_writer_open (writer, "undo-size");
|
||||
gimp_config_writer_printf (writer, "1g");
|
||||
gimp_config_writer_close (writer);
|
||||
}
|
||||
else if (! strcmp (prop_spec->name, "mypaint-brush-path"))
|
||||
{
|
||||
gchar *path = g_strdup_printf ("@mypaint_brushes_dir@%s"
|
||||
|
@ -325,6 +331,14 @@ dump_gimprc_manpage (GimpConfig *rc,
|
|||
gimp_config_writer_printf (writer, "2g");
|
||||
gimp_config_writer_close (writer);
|
||||
|
||||
success = TRUE;
|
||||
}
|
||||
else if (! strcmp (prop_spec->name, "undo-size"))
|
||||
{
|
||||
gimp_config_writer_open (writer, "undo-size");
|
||||
gimp_config_writer_printf (writer, "1g");
|
||||
gimp_config_writer_close (writer);
|
||||
|
||||
success = TRUE;
|
||||
}
|
||||
else if (! strcmp (prop_spec->name, "mypaint-brush-path"))
|
||||
|
|
Loading…
Reference in New Issue