From 0b3b7eef61287213308e14639444e1953b52ac04 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 21 Nov 2014 15:59:33 +0100 Subject: allow the user to cancel addition and deletion of files Based on FR commit: 815ad36da74abdc9e4948500af402e3f7d67e3ba From: Paolo Bacchilega --- src/fr-command-tar.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/fr-command-tar.c') diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c index 27deafa..ed63edb 100644 --- a/src/fr-command-tar.c +++ b/src/fr-command-tar.c @@ -866,11 +866,7 @@ fr_command_tar_uncompress (FrCommand *comm) c_tar->uncomp_filename = NULL; } - { - char *uri = g_filename_to_uri (comm->filename, NULL, NULL); - archive_exists = uri_exists (uri); - g_free (uri); - } + archive_exists = ! comm->creating_archive; c_tar->name_modified = ! is_mime_type (comm->mime_type, "application/x-tar"); if (c_tar->name_modified) { -- cgit v1.2.1