Commit 47b07923 authored by Andre Miranda's avatar Andre Miranda
Browse files

Use thunar_util_next_new_file_name

parent ea2d2fb0
Pipeline #15885 passed with stages
in 7 minutes and 13 seconds
......@@ -3033,8 +3033,15 @@ thunar_standard_view_receive_application_octet_stream (GdkDragContext *conte
{
if (thunar_file_is_directory (file))
{
gchar* folder_path = g_file_get_path (thunar_file_get_file (file));
gchar* filename_temp;
gchar* folder_path;
folder_path = g_file_get_path (thunar_file_get_file (file));
filename_temp = thunar_util_next_new_file_name (file, filename, THUNAR_NEXT_FILE_NAME_MODE_COPY);
g_free (filename);
filename = filename_temp;
filepath = g_build_filename (folder_path, filename, NULL);
g_free (folder_path);
}
......
Supports Markdown
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