diff options
author | Michael Meeks <michael@ximian.com> | 2002-05-29 16:49:16 +0000 |
---|---|---|
committer | Michael Meeks <michael@src.gnome.org> | 2002-05-29 16:49:16 +0000 |
commit | d05b6efd961eeef041cc8e7519cb7414f923b16b (patch) | |
tree | 505bb1cf3f005bd90a359a15af0790cbca3fd0df | |
parent | 785153a6ae01e35675f597203ebabfd9d5c09019 (diff) | |
download | nautilus-d05b6efd961eeef041cc8e7519cb7414f923b16b.tar.gz |
remove the file from the link hash if it is going, since we bin the file
2002-05-29 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-file.c
(nautilus_file_mark_gone): remove the file from
the link hash if it is going, since we bin the
file info here and thus can't remove it later
#74120 [backport from HEAD]
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | libnautilus-private/nautilus-file.c | 3 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2002-05-29 Michael Meeks <michael@ximian.com> + + * libnautilus-private/nautilus-file.c + (nautilus_file_mark_gone): remove the file from + the link hash if it is going, since we bin the + file info here and thus can't remove it later + #74120 [backport from HEAD] + 2002-04-13 Abel Cheung <maddog@linux.org.hk> * libnautilus-private/nautilus-authn-manager.c: diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c index abf1bc64b..4deee1fd6 100644 --- a/libnautilus-private/nautilus-file.c +++ b/libnautilus-private/nautilus-file.c @@ -4606,6 +4606,9 @@ nautilus_file_mark_gone (NautilusFile *file) update_links_if_target (file); + /* Drop it from the symlink hash ! */ + remove_from_link_hash_table (file); + /* Let the directory know it's gone. */ directory = file->details->directory; if (!nautilus_file_is_self_owned (file)) { |