fixed error messages.
2003-06-20 Sven Neumann <sven@gimp.org> * libgimp/gimp.c (gimp_config): fixed error messages. * app/widgets/gimpwidgets-utils.c (gimp_message_box): use a selectable label so you can copy from message dialogs.
This commit is contained in:
parent
3b1f805bb1
commit
335c71c4e5
@ -1,3 +1,10 @@
|
||||
2003-06-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimp.c (gimp_config): fixed error messages.
|
||||
|
||||
* app/widgets/gimpwidgets-utils.c (gimp_message_box): use a
|
||||
selectable label so you can copy from message dialogs.
|
||||
|
||||
2003-06-20 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Really commit the changes this time:
|
||||
|
@ -101,7 +101,8 @@ file_utils_filename_to_uri (GSList *procs,
|
||||
}
|
||||
else
|
||||
{
|
||||
g_set_error (error, G_CONVERT_ERROR, G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
|
||||
g_set_error (error,
|
||||
G_CONVERT_ERROR, G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
|
||||
_("Invalid character sequence in URI"));
|
||||
return NULL;
|
||||
}
|
||||
|
@ -199,6 +199,7 @@ gimp_message_box (const gchar *stock_id,
|
||||
pango_attr_list_unref (attrs);
|
||||
|
||||
label = gtk_label_new (message);
|
||||
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
|
||||
gtk_widget_show (label);
|
||||
|
@ -1422,8 +1422,7 @@ gimp_flush (GIOChannel *channel,
|
||||
}
|
||||
else
|
||||
{
|
||||
g_warning ("%s: gimp_flush(): error",
|
||||
g_get_prgname ());
|
||||
g_warning ("%s: gimp_flush(): error", g_get_prgname ());
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
@ -1494,7 +1493,7 @@ gimp_config (GPConfig *config)
|
||||
{
|
||||
if (config->version < GP_VERSION)
|
||||
{
|
||||
g_message ("Could not execute plug-in \"%s\"\n(%s)"
|
||||
g_message ("Could not execute plug-in \"%s\"\n(%s)\n"
|
||||
"because the GIMP is using an older version of the "
|
||||
"plug-in protocol.",
|
||||
g_get_prgname (), progname);
|
||||
@ -1502,7 +1501,7 @@ gimp_config (GPConfig *config)
|
||||
}
|
||||
else if (config->version > GP_VERSION)
|
||||
{
|
||||
g_message ("Could not execute plug-in \"%s\"\n(%s)"
|
||||
g_message ("Could not execute plug-in \"%s\"\n(%s)\n"
|
||||
"because it uses an obsolete version of the "
|
||||
"plug-in protocol.",
|
||||
g_get_prgname (), progname);
|
||||
|
Loading…
Reference in New Issue
Block a user