nautilus_file_set_attributes (NautilusFile *file, 
			      GFileInfo *attributes,
			      NautilusFileOperationCallback callback,
			      gpointer callback_data)
{
	NautilusFileOperation *op;
	GFile *location;
	
	op = nautilus_file_operation_new (file, callback, callback_data);

	location = nautilus_file_get_location (file);
	g_file_set_attributes_async (location,
				     attributes,
				     0, 
				     G_PRIORITY_DEFAULT,
				     op->cancellable,
				     set_attributes_callback,
				     op);
	g_object_unref (location);
}
nautilus_file_set_attributes (NautilusFile *file, 
			      GFileInfo *attributes,
			      NautilusFileOperationCallback callback,
			      gpointer callback_data)
{
	NautilusFileOperation *op;
	GFile *location;
	
	op = nautilus_file_operation_new (file, callback, callback_data);

	location = nautilus_file_get_location (file);
	g_file_set_attributes_async (location,
				     attributes,
				     0, 
				     G_PRIORITY_DEFAULT,
				     op->cancellable,
				     set_attributes_callback,
				     op);
	g_object_unref (location);
}