Fix for bug #417467 based on modified patch by Eric Lamarque and suggested

2007-03-13  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: Fix for bug #417467
	based on modified patch by Eric Lamarque and suggested by Mitch.
	Allows build without warnings and correct localization for Solaris
	and other platforms.

svn path=/trunk/; revision=22109
This commit is contained in:
Raphael Quinet 2007-03-13 09:55:18 +00:00 committed by Raphaël Quinet
parent 54f709ec06
commit 66ac1db77c
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2007-03-13 Raphaël Quinet <raphael@gimp.org>
* plug-ins/script-fu/script-fu-console.c: Fix for bug #417467
based on modified patch by Eric Lamarque and suggested by Mitch.
Allows build without warnings and correct localization for Solaris
and other platforms.
2007-03-13 Sven Neumann <sven@gimp.org>
* app/tools/gimptransformtool.c (gimp_transform_tool_response):

View File

@ -203,13 +203,13 @@ script_fu_console_interface (void)
{
const gchar * const greetings[] =
{
"strong", _("Welcome to TinyScheme"),
"strong", N_("Welcome to TinyScheme"),
NULL, "\n",
NULL, "Copyright (c) Dimitrios Souflis",
NULL, "\n",
"strong", _("Script-Fu Console"),
"strong", N_("Script-Fu Console"),
NULL, " - ",
"emphasis", _("Interactive Scheme Development"),
"emphasis", N_("Interactive Scheme Development"),
NULL, "\n"
};
@ -222,12 +222,12 @@ script_fu_console_interface (void)
{
if (greetings[i])
gtk_text_buffer_insert_with_tags_by_name (console->console, &cursor,
greetings[i + 1], -1,
greetings[i],
gettext (greetings[i + 1]),
-1, greetings[i],
NULL);
else
gtk_text_buffer_insert (console->console, &cursor,
greetings[i + 1], -1);
gettext (greetings[i + 1]), -1);
}
}