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:

committed by
Raphaël Quinet

parent
54f709ec06
commit
66ac1db77c
@ -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>
|
2007-03-13 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/tools/gimptransformtool.c (gimp_transform_tool_response):
|
* app/tools/gimptransformtool.c (gimp_transform_tool_response):
|
||||||
|
@ -203,13 +203,13 @@ script_fu_console_interface (void)
|
|||||||
{
|
{
|
||||||
const gchar * const greetings[] =
|
const gchar * const greetings[] =
|
||||||
{
|
{
|
||||||
"strong", _("Welcome to TinyScheme"),
|
"strong", N_("Welcome to TinyScheme"),
|
||||||
NULL, "\n",
|
NULL, "\n",
|
||||||
NULL, "Copyright (c) Dimitrios Souflis",
|
NULL, "Copyright (c) Dimitrios Souflis",
|
||||||
NULL, "\n",
|
NULL, "\n",
|
||||||
"strong", _("Script-Fu Console"),
|
"strong", N_("Script-Fu Console"),
|
||||||
NULL, " - ",
|
NULL, " - ",
|
||||||
"emphasis", _("Interactive Scheme Development"),
|
"emphasis", N_("Interactive Scheme Development"),
|
||||||
NULL, "\n"
|
NULL, "\n"
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -222,12 +222,12 @@ script_fu_console_interface (void)
|
|||||||
{
|
{
|
||||||
if (greetings[i])
|
if (greetings[i])
|
||||||
gtk_text_buffer_insert_with_tags_by_name (console->console, &cursor,
|
gtk_text_buffer_insert_with_tags_by_name (console->console, &cursor,
|
||||||
greetings[i + 1], -1,
|
gettext (greetings[i + 1]),
|
||||||
greetings[i],
|
-1, greetings[i],
|
||||||
NULL);
|
NULL);
|
||||||
else
|
else
|
||||||
gtk_text_buffer_insert (console->console, &cursor,
|
gtk_text_buffer_insert (console->console, &cursor,
|
||||||
greetings[i + 1], -1);
|
gettext (greetings[i + 1]), -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user