From fe92a2b9e801de78b5d4d4bebf057a7de043fb42 Mon Sep 17 00:00:00 2001 From: Thaddaeus Tintenfisch Date: Sun, 22 Feb 2015 23:34:45 +0100 Subject: [PATCH] Fallback to non-cached version of source file --- thunar/thunar-file.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c index 244b658..cb08806 100644 --- a/thunar/thunar-file.c +++ b/thunar/thunar-file.c @@ -1977,6 +1977,10 @@ thunar_file_accepts_drop (ThunarFile *file, /* determine the cached version of the source file */ ofile = thunar_file_cache_lookup (lp->data); + /* fallback to non-cached version */ + if (ofile == NULL) + ofile = thunar_file_get (lp->data, NULL); + /* we have only move if we know the source and both the source and the target * are on the same disk, and the source file is owned by the current user. */ -- 2.1.4