nautilus_file_can_delete (NautilusFile *file)
{
	g_return_val_if_fail (NAUTILUS_IS_FILE (file), FALSE);

	/* Nonexistent files can't be deleted. */
	if (nautilus_file_is_gone (file)) {
		return FALSE;
	}

	/* Self-owned files can't be deleted */
	if (nautilus_file_is_self_owned (file)) {
		return FALSE;
	}

	return file->details->can_delete;
}
nautilus_file_can_delete (NautilusFile *file)
{
	g_return_val_if_fail (NAUTILUS_IS_FILE (file), FALSE);

	 
	if (nautilus_file_is_gone (file)) {
		return FALSE;
	}

	 
	if (nautilus_file_is_self_owned (file)) {
		return FALSE;
	}

	return file->details->can_delete;
}