Commit 5dd652fa authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

improved reporting of errors while parsing the menu definitions.

2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpuimanager.c: improved reporting of errors
	while parsing the menu definitions.
parent e89dc8e2
2005-05-21 Sven Neumann <sven@gimp.org>
* app/widgets/gimpuimanager.c: improved reporting of errors
while parsing the menu definitions.
2005-05-21 Sven Neumann <sven@gimp.org>
* app/dialogs/convert-dialog.c:
......
......@@ -691,11 +691,23 @@ gimp_ui_manager_entry_ensure (GimpUIManager *manager,
if (! gimp_ui_manager_entry_load (manager, entry, &error))
{
g_message ("%s\n\n%s\n\n%s",
_("Your GIMP installation is incomplete:"),
error->message,
_("Plase make sure the menu XML files are correctly "
"installed."));
if (error->domain == G_FILE_ERROR &&
error->code == G_FILE_ERROR_EXIST)
{
g_message ("%s\n\n%s\n\n%s",
_("Your GIMP installation is incomplete:"),
error->message,
_("Plase make sure the menu XML files are correctly "
"installed."));
}
else
{
g_message (_("There was an error parsing the menu definition "
"from %s: %s"),
gimp_filename_to_utf8 (entry->basename),
error->message);
}
g_clear_error (&error);
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment