gimp r26923 - in trunk: . plug-ins/script-fu
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26923 - in trunk: . plug-ins/script-fu
- Date: Thu, 11 Sep 2008 08:49:49 +0000 (UTC)
Author: mitch
Date: Thu Sep 11 08:49:49 2008
New Revision: 26923
URL: http://svn.gnome.org/viewvc/gimp?rev=26923&view=rev
Log:
2008-09-11 Michael Natterer <mitch gimp org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_load_script):
convert the filename to UTF-8 before displaying it in the error
message.
Modified:
trunk/ChangeLog
trunk/plug-ins/script-fu/script-fu-scripts.c
Modified: trunk/plug-ins/script-fu/script-fu-scripts.c
==============================================================================
--- trunk/plug-ins/script-fu/script-fu-scripts.c (original)
+++ trunk/plug-ins/script-fu/script-fu-scripts.c Thu Sep 11 08:49:49 2008
@@ -704,9 +704,12 @@
if (! script_fu_run_command (command, &error))
{
+ gchar *display_name = g_filename_display_name (file_data->filename);
+
g_message (_("Error while loading\n\"%s\"\n\n%s"),
- file_data->filename, error->message);
+ display_name, error->message);
g_clear_error (&error);
+ g_free (display_name);
}
#ifdef G_OS_WIN32
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]