set the default plug-in locale domain on all GimpPlugInDefs which don't

2007-04-24  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimppluginmanager-restore.c
	(gimp_plug_in_manager_restore): set the default plug-in locale
	domain on all GimpPlugInDefs which don't register a locale domain
	themselves. Fixes bug #430146.


svn path=/trunk/; revision=22303
This commit is contained in:
Michael Natterer 2007-04-24 09:35:42 +00:00 committed by Michael Natterer
parent 89329ada9f
commit 687fc2d415
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2007-04-24 Michael Natterer <mitch@gimp.org>
* app/plug-in/gimppluginmanager-restore.c
(gimp_plug_in_manager_restore): set the default plug-in locale
domain on all GimpPlugInDefs which don't register a locale domain
themselves. Fixes bug #430146.
2007-04-22 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/brush.pdb (brush_rename)

View File

@ -148,6 +148,13 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
plug_in_def->prog,
plug_in_def->locale_domain_name,
plug_in_def->locale_domain_path);
else
/* FIXME: this consumes too much memory */
gimp_plug_in_def_set_locale_domain (plug_in_def,
gimp_plug_in_manager_get_locale_domain (manager,
plug_in_def->prog,
NULL),
NULL);
if (plug_in_def->help_domain_name)
gimp_plug_in_manager_add_help_domain (manager,