Commit b60f8616 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Always assume that directories in trash are local. Fixes #546353. Thanks

2008-09-12  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-directory.c
	(nautilus_directory_is_local):
	Always assume that directories in trash are local. Fixes #546353.
	Thanks to lvaro Vilanova Vidal.

svn path=/trunk/; revision=14615
parent 525bdd0b
2008-09-12 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-directory.c
(nautilus_directory_is_local):
Always assume that directories in trash are local. Fixes #546353.
Thanks to lvaro Vilanova Vidal.
2008-09-10 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-icon-container.c
......
......@@ -571,7 +571,9 @@ nautilus_directory_is_local (NautilusDirectory *directory)
if (directory->details->location == NULL) {
return TRUE;
}
return g_file_is_native (directory->details->location);
return nautilus_directory_is_in_trash (directory) ||
g_file_is_native (directory->details->location);
}
gboolean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment