diff options
author | Uwe Helm <uwe.helm@gmail.com> | 2014-12-22 16:16:33 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimo@endlesm.com> | 2014-12-22 16:17:45 +0800 |
commit | 552ad342df7306f95bf6959af36e2b5737d36d9c (patch) | |
tree | 9220de11c6a9f174c2f64a64303297bb1624e4a3 | |
parent | c4626bea9944e13523207f6d57e97e43aac915ca (diff) | |
download | nautilus-552ad342df7306f95bf6959af36e2b5737d36d9c.tar.gz |
NautilusFile: properly reset is_gone flag when clearing
Or the file can get in an inconsistent state.
https://bugzilla.gnome.org/show_bug.cgi?id=740477
-rw-r--r-- | libnautilus-private/nautilus-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c index 5957dc674..18dd681fe 100644 --- a/libnautilus-private/nautilus-file.c +++ b/libnautilus-private/nautilus-file.c @@ -455,6 +455,7 @@ nautilus_file_clear_info (NautilusFile *file) file->details->is_symlink = FALSE; file->details->is_hidden = FALSE; file->details->is_mountpoint = FALSE; + file->details->is_gone = FALSE; file->details->uid = -1; file->details->gid = -1; file->details->can_read = TRUE; |