mirror of https://github.com/GNOME/gimp.git
improved error message.
2004-07-23 Sven Neumann <sven@gimp.org> * app/core/gimpgradient-load.c (gimp_gradient_load_svg): improved error message.
This commit is contained in:
parent
e965603984
commit
df0bf0185b
|
@ -1,3 +1,8 @@
|
||||||
|
2004-07-23 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/core/gimpgradient-load.c (gimp_gradient_load_svg): improved
|
||||||
|
error message.
|
||||||
|
|
||||||
2004-07-23 Sven Neumann <sven@gimp.org>
|
2004-07-23 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* libgimpcolor/test-color-parser.c: added more test samples.
|
* libgimpcolor/test-color-parser.c: added more test samples.
|
||||||
|
|
|
@ -269,7 +269,7 @@ gimp_gradient_load_svg (const gchar *filename,
|
||||||
else if (success)
|
else if (success)
|
||||||
{
|
{
|
||||||
g_set_error (error, GIMP_DATA_ERROR, GIMP_DATA_ERROR_READ,
|
g_set_error (error, GIMP_DATA_ERROR, GIMP_DATA_ERROR_READ,
|
||||||
_("No gradients found in '%s'"),
|
_("No linear gradient found in '%s'"),
|
||||||
gimp_filename_to_utf8 (filename));
|
gimp_filename_to_utf8 (filename));
|
||||||
}
|
}
|
||||||
else if (error && *error) /* parser reported an error */
|
else if (error && *error) /* parser reported an error */
|
||||||
|
|
Loading…
Reference in New Issue