diff -urN gimp-2.6.11-orig/app/core/gimpdatafactory.c gimp-2.6.11/app/core/gimpdatafactory.c --- gimp-2.6.11-orig/app/core/gimpdatafactory.c 2010-07-03 07:51:55 +0900 +++ gimp-2.6.11/app/core/gimpdatafactory.c 2010-12-27 13:57:16 +0900 @@ -483,28 +483,11 @@ if (new_data) { const gchar *name; - gchar *ext; - gint copy_len; - gint number; gchar *new_name; name = gimp_object_get_name (GIMP_OBJECT (data)); - ext = strrchr (name, '#'); - copy_len = strlen (_("copy")); - - if ((strlen (name) >= copy_len && - strcmp (&name[strlen (name) - copy_len], _("copy")) == 0) || - (ext && (number = atoi (ext + 1)) > 0 && - ((gint) (log10 (number) + 1)) == strlen (ext + 1))) - { - /* don't have redundant "copy"s */ - new_name = g_strdup (name); - } - else - { - new_name = g_strdup_printf (_("%s copy"), name); - } + new_name = g_strdup (name); gimp_object_take_name (GIMP_OBJECT (new_data), new_name); diff -urN gimp-2.6.11-orig/app/core/gimpitem.c gimp-2.6.11/app/core/gimpitem.c --- gimp-2.6.11-orig/app/core/gimpitem.c 2010-07-03 07:51:55 +0900 +++ gimp-2.6.11/app/core/gimpitem.c 2010-12-27 13:51:29 +0900 @@ -300,29 +300,12 @@ /* formulate the new name */ { const gchar *name; - gchar *ext; - gint number; - gint len; name = gimp_object_get_name (GIMP_OBJECT (item)); g_return_val_if_fail (name != NULL, NULL); - ext = strrchr (name, '#'); - len = strlen (_("copy")); - - if ((strlen (name) >= len && - strcmp (&name[strlen (name) - len], _("copy")) == 0) || - (ext && (number = atoi (ext + 1)) > 0 && - ((int)(log10 (number) + 1)) == strlen (ext + 1))) - { - /* don't have redundant "copy"s */ - new_name = g_strdup (name); - } - else - { - new_name = g_strdup_printf (_("%s copy"), name); - } + new_name = g_strdup (name); } new_item = g_object_new (new_type, NULL);