Commit e41ea363 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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.
parent fd30019a
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
......
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment