[nautilus] NautilusFile: properly reset is_gone flag when clearing
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] NautilusFile: properly reset is_gone flag when clearing
- Date: Mon, 22 Dec 2014 08:24:50 +0000 (UTC)
commit 552ad342df7306f95bf6959af36e2b5737d36d9c
Author: Uwe Helm <uwe helm gmail com>
Date: Mon Dec 22 16:16:33 2014 +0800
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
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 5957dc6..18dd681 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]