merged partial fix for #62592 from stable branch.

2002-02-12  Michael Natterer  <mitch@gimp.org>

	* app/gui/edit-commands.c: merged partial fix for #62592 from
	stable branch.
This commit is contained in:
Michael Natterer 2002-02-12 17:03:41 +00:00 committed by Michael Natterer
parent fd30019aef
commit e41ea36313
3 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-02-12 Michael Natterer <mitch@gimp.org>
* app/gui/edit-commands.c: merged partial fix for #62592 from
stable branch.
2002-02-12 Michael Natterer <mitch@gimp.org>
* app/gui/resize-dialog.c: merged fix for #63741 from stable

View File

@ -295,6 +295,9 @@ cut_named_buffer_callback (GtkWidget *widget,
{
GimpBuffer *new_buffer;
if (! (name && strlen (name)))
name = _("(Unnamed Buffer)");
new_buffer = gimp_buffer_new (cut_buffer->tiles, name, TRUE);
gimp_container_add (gimage->gimp->named_buffers,
@ -321,6 +324,9 @@ copy_named_buffer_callback (GtkWidget *widget,
{
GimpBuffer *new_buffer;
if (! (name && strlen (name)))
name = _("(Unnamed Buffer)");
new_buffer = gimp_buffer_new (copy_buffer->tiles, name, TRUE);
gimp_container_add (gimage->gimp->named_buffers,

View File

@ -295,6 +295,9 @@ cut_named_buffer_callback (GtkWidget *widget,
{
GimpBuffer *new_buffer;
if (! (name && strlen (name)))
name = _("(Unnamed Buffer)");
new_buffer = gimp_buffer_new (cut_buffer->tiles, name, TRUE);
gimp_container_add (gimage->gimp->named_buffers,
@ -321,6 +324,9 @@ copy_named_buffer_callback (GtkWidget *widget,
{
GimpBuffer *new_buffer;
if (! (name && strlen (name)))
name = _("(Unnamed Buffer)");
new_buffer = gimp_buffer_new (copy_buffer->tiles, name, TRUE);
gimp_container_add (gimage->gimp->named_buffers,