Invalidate file attributes after it has been moved, so that they are

2009-01-28  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_notify_files_moved):
	Invalidate file attributes after it has been moved, so that
	they are refreshed properly (#555234).

svn path=/trunk/; revision=14893
This commit is contained in:
Cosimo Cecchi 2009-01-28 15:55:12 +00:00 committed by Cosimo Cecchi
parent 3b0dd97936
commit 252ab1b64e
2 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,11 @@
2009-01-28 Cosimo Cecchi <cosimoc@pluto>
2009-01-28 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-private/nautilus-directory.c:
(nautilus_directory_notify_files_moved):
Invalidate file attributes after it has been moved, so that
they are refreshed properly (#555234).
2009-01-28 Cosimo Cecchi <cosimoc@gnome.org>
* icons/Makefile.am:
* src/nautilus-notes-viewer.c: (nautilus_notes_viewer_init):

View file

@ -1434,7 +1434,10 @@ nautilus_directory_notify_files_moved (GList *file_pairs)
nautilus_file_update_name_and_directory
(file, name, new_directory);
g_free (name);
/* Update file attributes */
nautilus_file_invalidate_attributes (file, NAUTILUS_FILE_ATTRIBUTE_INFO);
hash_table_list_prepend (changed_lists,
old_directory,
file);