Tell it's outdated.
2003-09-10 Tor Lillqvist <tml@iki.fi> * config.h.win32: Tell it's outdated. * app/errors.c (gimp_eek): [Win32] Use full_prog_name, show also reason. * app/xcf/xcf.c (xcf_load_args, xcf_save_arge): Document that filename is in the on-disk charset and encoding, and raw_filename is just the basename, in UTF-8. (xcf_save_invoker): Convert filename to UTF-8 before passing to g_message().
This commit is contained in:

committed by
Tor Lillqvist

parent
b202fb8555
commit
3d59718921
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2003-09-10 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* config.h.win32: Tell it's outdated.
|
||||
|
||||
* app/errors.c (gimp_eek): [Win32] Use full_prog_name, show also
|
||||
reason.
|
||||
|
||||
* app/xcf/xcf.c (xcf_load_args, xcf_save_arge): Document that
|
||||
filename is in the on-disk charset and encoding, and raw_filename
|
||||
is just the basename, in UTF-8.
|
||||
(xcf_save_invoker): Convert filename to UTF-8 before passing to
|
||||
g_message().
|
||||
|
||||
2003-09-10 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* configure.in: require fontconfig >= 2.2.0 (bug #121752), check
|
||||
|
@ -167,7 +167,7 @@ gimp_eek (const gchar *reason,
|
||||
|
||||
/* g_on_error_* don't do anything reasonable on Win32. */
|
||||
|
||||
MessageBox (NULL, message, prog_name, MB_OK|MB_ICONERROR);
|
||||
MessageBox (NULL, g_strdup_printf ("%s: %s", reason, message), full_prog_name, MB_OK|MB_ICONERROR);
|
||||
|
||||
#endif /* ! G_OS_WIN32 */
|
||||
|
||||
|
@ -61,10 +61,10 @@ static ProcArg xcf_load_args[] =
|
||||
"dummy parameter" },
|
||||
{ GIMP_PDB_STRING,
|
||||
"filename",
|
||||
"The name of the file to load" },
|
||||
"The name of the file to load, in the on-disk character set and encoding" },
|
||||
{ GIMP_PDB_STRING,
|
||||
"raw_filename",
|
||||
"The name of the file to load" },
|
||||
"The basename of the file, in UTF-8" },
|
||||
};
|
||||
|
||||
static ProcArg xcf_load_return_vals[] =
|
||||
@ -117,10 +117,10 @@ static ProcArg xcf_save_args[] =
|
||||
"Active drawable of input image" },
|
||||
{ GIMP_PDB_STRING,
|
||||
"filename",
|
||||
"The name of the file to save the image in" },
|
||||
"The name of the file to save the image in, in the on-disk character set and encoding" },
|
||||
{ GIMP_PDB_STRING,
|
||||
"raw_filename",
|
||||
"The name of the file to load" },
|
||||
"The basename of the file, in UTF-8" },
|
||||
};
|
||||
|
||||
static PlugInProcDef xcf_plug_in_save_proc =
|
||||
@ -322,7 +322,9 @@ xcf_save_invoker (Gimp *gimp,
|
||||
}
|
||||
else
|
||||
{
|
||||
g_message (_("open failed on %s: %s\n"), filename, g_strerror (errno));
|
||||
gchar *utf8_filename = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL);
|
||||
g_message (_("open failed on %s: %s\n"), utf8_filename, g_strerror (errno));
|
||||
g_free (utf8_filename);
|
||||
}
|
||||
|
||||
return_args = procedural_db_return_args (&xcf_plug_in_save_proc.db_info,
|
||||
|
Reference in New Issue
Block a user