summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-21 15:51:23 +0100
committerinfirit <[email protected]>2014-11-22 20:25:30 +0100
commitfb2b49141c7c84f46a4b2090109124b6a2f59d29 (patch)
treeec80f16170837ac3e1e9c0ce8b97481034cf0591 /src
parentf4e64e2f675057d23a94277fa103479549f862bc (diff)
downloadengrampa-fb2b49141c7c84f46a4b2090109124b6a2f59d29.tar.bz2
engrampa-fb2b49141c7c84f46a4b2090109124b6a2f59d29.tar.xz
use local_copy instead of command->filename to check file existence
Based on FR commit: 77b2f368b8ab02267dc94bb70e7db16f37bbe252 From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/fr-archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-archive.c b/src/fr-archive.c
index abe5dc3..bae1557 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -1628,7 +1628,7 @@ fr_archive_add (FrArchive *archive,
return;
}
- archive->command->creating_archive = ! g_file_test (archive->command->filename, G_FILE_TEST_EXISTS);
+ archive->command->creating_archive = ! g_file_query_exists (archive->local_copy, NULL);
fr_command_uncompress (archive->command);